Expand description
Varint length-prefixed framing.
Each frame is a LEB128 varint giving the payload length, followed by the
payload. This is the “length-delimited” stream format of Protocol Buffers
(writeDelimitedTo / parseDelimitedFrom, prost::encode_length_delimited)
and of several RPC transports. Small messages pay a single byte of
overhead; the prefix grows by one byte per seven bits of length.
Structs§
- Varint
Prefixed - Varint length-prefixed framer.