sok / Sok.Buffer / JVMMultiplatformBuffer / clone
fun clone(): <ERROR CLASS> (source)
Platform and version requirements: JVM
Deep copy the buffer. All the data from the start to the capacity will be copied, the cursor and limit will be reset
Return cloned buffer