3 ms·
It says it supports protobuf. Is there a protobuf file format i.e. for multiple records or do they mean a single protobuf record file?
by hawk_ 5y ago
It says it supports protobuf. Is there a protobuf file format i.e. for multiple records or do they mean a single protobuf record file?
- sandermvanvliet 5y agoTypically people separate protobuf messages by a length value of the next message. Perhaps that’s what they did. Also protobuf can contain embedded messages or even just the binary representation of a list of embedded messages.
- wwader 5y agoHi, currently the protobuf support can either decode the wire-format or in some cases a format decoder uses protobuf as subformat and passes it a "schema" so it can do some more fancy decoding. But yes it would be interesting adding support for reading protobuf schemas somehow.
- Cloudef 5y agoI wrote protobuf parser in ragel for work.. its still used to replace reflection as c++ protobuf implementation explodes our binaries to huge sizes.