asCPointer

fun ImmutableBlob.asCPointer(offset: Int = 0): CPointer<ByteVar>

Returns stable C pointer to data at certain offset, useful as a way to pass resource to C APIs.

See also