Scoop API

scoop:scoop.std:0.1.0

ByteArrayReader

class ByteArrayReader

source · line 7
public
public class ByteArrayReader public constructor(input: List<Byte>)

A cursor over the supplied byte list, with explicit byte order for multibyte values. Reads require enough remaining bytes and advance the cursor.

function readInt8

source · line 72
public
public fun readInt8(): Int8

Reads and advances past one Int8 value as one byte. Insufficient remaining input throws.

function readUInt8

source · line 76
public
public fun readUInt8(): UInt8

Reads and advances past one UInt8 value as one byte. Insufficient remaining input throws.