sok / Sok.Buffer / MultiplatformBuffer / clone
abstract fun clone():
MultiplatformBuffer
(source)
Platform and version requirements: Common
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