SokDoc

sok / Sok.Buffer / JSMultiplatformBuffer / destroy

destroy

fun destroy(): Unit (source)

Platform and version requirements: JS

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