Length-Prefixed Strings in Protocol Buffers — Deep Dive
Length-prefixed strings are one of the key reasons why Protocol Buffers (ProtoBuf) are smaller and faster than JSON or XML. In JSON or XML, strings are wrapped in quotes and require closing tags or...