'Decode protobuf without proto files
I would like to decode protobuf data and running into some decoding challenges.
1> Example of the protobuf data: 0a06282c0241057a10011805220d080510bea3f493062a03010c1628f1a6f493063002382b4001481482010f383634333233303532343736343839
2> Decoding online (e.g. via https://protobuf-decoder.netlify.app/) works fine
3> Decoding via protoc.exe is not working
- protoc.exe --decode_raw < measurement01_bin.txt (have tried HEX or BIN as input)
- Result: Failed to parse input.
- Question: What am I not doing correct?
4> Further I would like to add protobuf decoder in a cloud solution (in-memory) and ideally not be dependent on protoc (in my environment it is almost impossible to run an exe). So I am looking for a stand-alone parser / raw decoder in run-time and not using proto files.
- Question: Do you have idea for me on how I could set this up?
Thanks a lot
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|