Immutable Blob
An immutable compile-time array of bytes.
Functions
Properties
Extensions
as CPointer
Link copied to clipboard
Returns stable C pointer to data at certain offset, useful as a way to pass resource to C APIs.
as UCPointer
Link copied to clipboard
to Byte Array
Link copied to clipboard
external fun ImmutableBlob.toByteArray(startIndex: Int = 0, endIndex: Int = size): ByteArray
Content copied to clipboard
Copies the data from this blob into a new ByteArray.
to UByte Array
Link copied to clipboard
@ExperimentalUnsignedTypes
Content copied to clipboard
Copies the data from this blob into a new UByteArray.