|
LibQuicR
|
#include <ctrl_message_types.h>
Public Member Functions | |
| std::size_t | Size (const T prev_type) const |
| bool | operator== (const KeyValuePair< T > &other) const |
Public Attributes | |
| T | type |
| Absolute key type. More... | |
| Bytes | value |
| Opaque odd-key bytes or host-order integer bytes for an even key. More... | |
MoQ key/value pair.
Keys are delta-encoded relative to the preceding key. Odd keys carry length-prefixed opaque bytes; even keys carry a UintVar represented in value using host-memory byte order and up to eight bytes.
| T | Key type satisfying KeyType. |
|
inline |
Equality comparison operator for KeyValuePair.
| other | The KeyValuePair to compare with. |
| std::invalid_argument | if either even-key value exceeds eight bytes. |
|
inline |
Get the encoded size of this KeyValuePair, in bytes.
| prev_type | The previous type value. |
| std::invalid_argument | if an even-key value exceeds eight bytes. |
| T quicr::messages::KeyValuePair< T >::type |
Absolute key type.
| Bytes quicr::messages::KeyValuePair< T >::value |
Opaque odd-key bytes or host-order integer bytes for an even key.