sok / Sok.Buffer / JSMultiplatformBuffer / clone
fun clone(): <ERROR CLASS>
(source)
Platform and version requirements: JS
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