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