Grandfather of Protobuf is ASN.1
[0]: https://github.com/trymoose/handwriting2svg/blob/0eb56cf4582...
[1]: https://github.com/ReagentX/imessage-exporter/blob/beeb853b2...
[2]: https://github.com/ReagentX/imessage-exporter/blob/beeb853b2...
All they needed was a varint at the head of any marshaled from to at least provide some scoping clue.