BufferHandleFactory
Factory and conversion utilities for creating BufferHandle instances from common Kotlin types and for slicing existing handles.
Functions
Link copied to clipboard
Create a file-backed handle (metadata only — actual mapping is platform-specific).
Link copied to clipboard
Create an BufferHandle.Owned by copying a ByteArray.
Create an BufferHandle.Owned from a FloatArray (copies to little-endian bytes).
Create an BufferHandle.Owned from an IntArray (copies to little-endian bytes).
Link copied to clipboard
Create an aliased slice of an existing handle.