Expand description
Length-prefixed messages on QUIC streams: a LENGTH_PREFIX_BYTES-byte big-endian length,
then the protobuf encoding.
Functionsยง
- read_
message - Reads the next message.
Ok(None)when the stream ended cleanly before a message; an error when it ended inside one or the length exceedsmax_bytes(checked before allocating). - write_
message - Writes
messagewith its length prefix.