SokDoc

sok / Sok.Buffer / NativeMultiplatformBuffer / clone

clone

fun clone(): <ERROR CLASS> (source)

Platform and version requirements: Native

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