Re:Revisiting Apple Notes (6): The Protobuf
by athenot on Monday September 21, 2020 @01:26PM
(#24546064)
What I do appreciate about TLV-style formats is general-purpose debugging tools. When all you have is a bitstream where field lengths are not multiples of 8 bits and are variable based on the actual value being encoded (looking at you, MPEG), the toolset to debug streams ends up being non-trivial.
[ Parent
| on HN ]
Re:Revisiting Apple Notes (6): The Protobuf
by cryptonector on Monday September 21, 2020 @01:56PM
(#24546391)
If the IDL compiler is more like a library then you can have an "asn1print" that takes a schema and dumps the data correctly with all the metadata you need and want and none of the crappy TLV.