SokDoc

sok / Sok.Buffer / NativeMultiplatformBuffer / destroy

destroy

fun destroy(): Unit (source)

Platform and version requirements: Native

Destroy the ByteBuffer, you cannot call any method on the buffer after calling destroy. This method MUST be called on native platforms in order to free/unpin memory but you can skip it on any other platform