Package-level declarations

Types

Link copied to clipboard

Region of native memory that can be read and written.

Link copied to clipboard

Thrown when writing to, resizing, or closing a Buffer while SQLite is still borrowing it, for example because it was bound to a statement parameter and not yet released.

Link copied to clipboard
open class ReadableBuffer

Region of native memory that can be read.

Functions

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

Reads size bytes from the native memory block, starting at offset, and returns them as a new ByteArray.

Link copied to clipboard

Reads this whole buffer and returns it as a new ByteArray, up to Int.MAX_VALUE bytes.

Link copied to clipboard

Reads this whole buffer and returns it as a new ByteArray.