Extract data structure / format from Protobuf
<p>I am seeking for quick and easy answer about Protobufs. I understand it's some sort of encoding that shrinks huge data knowing its format, but what I care about is to understand this: how can I get an original data format? Literally, without knowing all the details of how protobufs work, is there an original data structure in JSON or CSV or XML like a header info that is provided to protobuf to encode data and decode it back, and where that information is? It seems like .proto file is something different.</p>

<p>I am trying a bunch of parsers that fail as I ran them: parsepbf.py. But maybe, because I don't let it know what's the underlying data format is, the header, namely. And where to look for that header, in what file?</p>