Companion

object Companion

Properties

Link copied to clipboard
const val MAX_SIGNED_INT: Long = 2147483647
Link copied to clipboard
const val MAX_UNSIGNED_INT: Long = 4294967295
Link copied to clipboard
const val MAX_VARINT_LEN_32: Int = 5
Link copied to clipboard
const val MAX_VARINT_LEN_64: Int = 10
Link copied to clipboard
const val MIN_SIGNED_INT: Long

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Read a F32 from the buffer which fits neatly into a long.

Link copied to clipboard

Read a F64 from the buffer which fits neatly into a long.

Link copied to clipboard
Link copied to clipboard
fun readName(buffer: ByteBuffer, checkMalformed: Boolean): String

Read a symbol name from the buffer as UTF-8 String.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readUnsignedLeb128(byteBuffer: ByteBuffer, maxVarInt: Int): Long

Reads an unsigned integer from {@code byteBuffer}.

Link copied to clipboard

Read a signed I32 from the buffer.

Link copied to clipboard

Read a signed I64 from the buffer which fits neatly into a long.

Link copied to clipboard

Read an unsigned I32 from the buffer.