Package-level declarations

Types

Link copied to clipboard
actual class Buffer : BufferBase

SQLite managed memory region that can be read and written.

expect class Buffer : BufferBase

SQLite managed memory region that can be read and written.

actual class Buffer : BufferBase

SQLite managed memory region that can be read and written.

actual class Buffer : BufferBase

SQLite managed memory region that can be read and written.

actual open class Buffer : BufferBase

SQLite managed memory region that can be read and written.

Link copied to clipboard
abstract class BufferBase : WritableBuffer

Base class for Buffer implementations.

Link copied to clipboard
actual open class ClosableStruct : Struct, AutoCloseable

A Struct that can be closed.

expect open class ClosableStruct : Struct, AutoCloseable

A Struct that can be closed.

A Struct that can be closed.

actual open class ClosableStruct : Struct, AutoCloseable

A Struct that can be closed.

actual open class ClosableStruct(struct: StructType) : Struct, AutoCloseable

A Struct that can be closed.

Link copied to clipboard

Output parameter that accepts an Int to be written to.

expect class Int32OutputParam(initialValue: Int = 0) : OutputParam<Int>

Output parameter that accepts an Int to be written to.

actual open class Int32OutputParam(initialValue: Int) : OutputParamBase<Int>

Output parameter that accepts an Int to be written to.

actual class Int32OutputParam(initialValue: Int) : OutputParamBase<Int, IntVar>

Output parameter that accepts an Int to be written to.

actual open class Int32OutputParam(initialValue: Int) : OutputParamBase<Int>

Output parameter that accepts an Int to be written to.

Link copied to clipboard

Output parameter that is backed by an Int32OutputParam but the resolved value is transformed into T when read.

Link copied to clipboard

Output parameter that accepts a Long to be written to.

expect class Int64OutputParam(initialValue: Long = 0) : OutputParam<Long>

Output parameter that accepts a Long to be written to.

actual class Int64OutputParam(initialValue: Long) : OutputParamBase<Long>

Output parameter that accepts a Long to be written to.

actual class Int64OutputParam(initialValue: Long) : OutputParamBase<Long, LongVar>

Output parameter that accepts a Long to be written to.

actual class Int64OutputParam(initialValue: Long) : OutputParamBase<Long>

Output parameter that accepts a Long to be written to.

Link copied to clipboard
interface MemoryScope

Marker for object having a clearly defined lifecycle.

Link copied to clipboard
interface OutputParam<Value>

Base for output parameter.

Link copied to clipboard

Base for output parameter.

Base for output parameter.

Base for output parameter.

Base for output parameter.

Link copied to clipboard

Base for pointer output parameter.

Base for pointer output parameter.

Base for pointer output parameter.

Base for pointer output parameter.

Link copied to clipboard

For StructType that does not own its pointer and thus is not responsible for freeing it in StructType.dispose.

Link copied to clipboard
abstract class ReadableBuffer

Region of native memory that can be read.

Link copied to clipboard
Link copied to clipboard
actual open class Struct : StructBase

Represents a native struct.

expect open class Struct : StructBase

Represents a native struct.

actual open class Struct : StructBase

Represents a native struct.

actual open class Struct : StructBase

Represents a native struct.

actual open class Struct : StructBase

Represents a native struct.

Link copied to clipboard
abstract class StructBase

Base class for all Struct implementations.

Link copied to clipboard

Output parameter that accepts a UTF-8 encoded String to be written to.

Output parameter that accepts a UTF-8 encoded String to be written to.

Output parameter that accepts a UTF-8 encoded String to be written to.

Output parameter that accepts a UTF-8 encoded String to be written to.

Output parameter that accepts a UTF-8 encoded String to be written to.

Link copied to clipboard

Region of native memory that can be written.

Properties

Link copied to clipboard

Wasm null pointer.

Functions

Link copied to clipboard
fun ReadableBuffer.read(size: Int, offset: Long = 0): ByteArray

Reads size bytes from the native memory block and returns a ByteArray holding them.

Link copied to clipboard

Reads at most Int.MAX_VALUE bytes from this buffer.

Link copied to clipboard

Reads all bytes from this buffer.