Expand description
Packed Unsigned Integers (PUIs).
Little-endian base-128 encoding with a continuation bit, capped at three bytes. See “Packed Unsigned Integers” in the minimal ULCP spec.
Enums§
Constants§
Functions§
- decode
- Decode a PUI from the start of
input. - encode
- Encode
valueintoout, returning the number of bytes written. - encoded_
len - Return the encoded size of
valuein bytes.