Skip to main content

Module kvp

Module kvp 

Source
Expand description

Key-value parameter pair encoding and decoding.

Structs§

KeyValuePair
A MoQT Key-Value Pair (used for parameters in control messages).

Enums§

KvpError
Errors produced when encoding or decoding key-value pairs.
KvpValue
Value of a Key-Value Pair. Even key type -> varint value (no length field). Odd key type -> length-prefixed bytes.

Constants§

MAX_KVP_VALUE_LEN
Maximum value length for a Key-Value Pair: 2^16 - 1 bytes.

Functions§

read_bytes_kvp 🔒