SokDoc

sok / Sok.Buffer / MultiplatformBuffer / destroyed

destroyed

var destroyed: Boolean (source)

Platform and version requirements: Common

is the buffer still usable, useful on Native platforms to know when the memory is freed and avoid any use-after-free operation.