object Companion
source · line 85public
public companion
Allocates owned native storage with initially empty readable content.
function allocate
source · line 89public
public fun allocate(capacity: Long = 0L): NativeByteBuffer
Allocates the requested nonnegative capacity with both positions initially zero.
parameter capacity
source · line 89public
capacity: Long = 0L