Current byte offset in the input.
Number of unread bytes remaining in the input.
Read a CXS bool and reject values other than 0 and 1.
Read fixed-length opaque bytes without padding into a caller-owned copy.
Read a signed 128-bit integer.
Read a signed 32-bit integer from CXS variable-length encoding.
Read a signed 64-bit integer from CXS variable-length encoding.
Read and UTF-8 decode a length-prefixed string bounded by max bytes.
Throws TypeError on malformed UTF-8 (fatal decode).
Read an unsigned 128-bit integer.
Read an unsigned 32-bit integer from CXS variable-length encoding.
Read an unsigned 64-bit integer from CXS variable-length encoding.
Read length-prefixed opaque bytes bounded by max into a caller-owned copy.
Reads compact XDR serialization (CXS) bytes.