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 CloseableStruct : Struct, AutoCloseable

A non-opaque Struct that can be closed.

expect open class CloseableStruct : Struct, AutoCloseable

A non-opaque Struct that can be closed.

actual open class CloseableStruct : Struct, AutoCloseable

A non-opaque Struct that can be closed.

actual open class CloseableStruct : Struct, AutoCloseable

A non-opaque Struct that can be closed.

actual open class CloseableStruct : Struct, AutoCloseable

A non-opaque 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
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
abstract class ReadableBuffer

Region of native memory that can be read.

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

Contiguous native array of structs (S[] / const S*) It is not recommended to close an individual element.

Contiguous native array of structs (S[] / const S*) It is not recommended to close an individual element.

Contiguous native array of structs (S[] / const S*) It is not recommended to close an individual element.

Contiguous native array of structs (S[] / const S*) It is not recommended to close an individual element.

Contiguous native array of structs (S[] / const S*) It is not recommended to close an individual element.

Link copied to clipboard

Base for all StructArray implementations.

Link copied to clipboard
abstract class StructBase

Base class for all Struct implementations.

Link copied to clipboard
actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S>
expect abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S>
actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S>
actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S>
actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S>
Link copied to clipboard

Base for all StructLayout 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
actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

expect fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

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.