Expand description
The DATAGRAM payload of a datagram flow: varint flow || opaque bytes
(docs/PROTOCOL.md §6.9).
The prefix is a QUIC varint rather than CBOR for the same reason a cursor record is: it is on the hot path, self-delimiting, and a map header per datagram would buy nothing the FLOW header does not already say.
Constants§
- LOCAL_
MAX_ DATAGRAM - Largest datagram a local transport carries in one FLOW record
(
docs/PROTOCOL.md§2.1). A longer record is a protocol violation.
Functions§
- flow_
prefix - The varint prefix for flow
flow, in a fixed buffer, and its length. - split_
flow_ datagram - Splits a received datagram into its flow id and the offset of its payload.