Skip to main content

Module varint

Module varint 

Source
Expand description

QUIC variable-length integer encoding and decoding.

Modules§

sealed 🔒

Structs§

Moqt17
The encoding as introduced in draft-17, whose Table 1 omits the 7-byte length and which calls 11111100 an invalid code point. Values needing seven bytes under Moqt18 take eight here.
Moqt18
The encoding as revised in draft-18, which restored the 7-byte length so that all nine are defined.
VarInt
A QUIC variable-length integer (RFC 9000 Section 16).

Enums§

VarIntError
Errors produced when encoding or decoding a variable-length integer.

Constants§

MAX_MOQT_VARINT
Maximum MoQT varint value (draft-17 Section 1.4.1): 2^64 - 1.
MAX_VARINT
Maximum varint value: 2^62 - 1 (RFC 9000 Section 16)

Traits§

MoqtProfile
One revision of MoQT’s variable-length integer.