Re:Add extra stuff to a “standard” encoding? Sure, why not
by chrisdew on Wednesday September 20, 2023 @07:15AM
(#37582789)
Protobuf over UDP can use the UDP payload length. Likewise for the many variants of self-sychronising DLE framing (DLE,STX..DLE,ETX) used on serial links.
A varint length field prepended to protobuf messages (sent over a reliable transport, such as TCP) seems sane.
A varint length field prepended to protobuf messages (sent over a reliable transport, such as TCP) seems sane.