3 ms·
protobuf doesn't have key names without the schema right? Wouldn't it just decode to 1,type,value 2,type,value without the schema no names? Human readable key
by SigmundA 2y ago
protobuf doesn't have key names without the schema right?
Wouldn't it just decode to 1,type,value 2,type,value without the schema no names?
Human readable key names is a big part of what makes a self describing format useful but also contributes to bloat a format with an embedded schema in the header would help.
- jabwd 2y agoSorry I never ended up replying. You are correct, in protobuf you have field numbers ( and I have to admit what I commented has been a number of years ago by now my knowledge is crusty ). Usually when doing this type of work, as I was doing, is to reverse some protocol. It didn't make me hate the format though; many protocols I had reversed in the past were vastly more complicated to decode and understand without having field names. If you ever want to melt your brain get into RTMP decoding :3