Hello, sorry it took a while to get to this. If you're still having this problem I recommend you file an issue <https://github.com/protocolbuffers/protobuf/issues> in the GitHub repository so we can gather more details and reproduce there.
On Friday, May 13, 2022 at 1:19:18 AM UTC-7 [email protected] wrote: > Hello, > > I would like to decode protobuf data (IoT devices) and running into some > decoding challenges. Can not use the Proto files due to environmental > constraints (cloud / run-time) > > 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 > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/abd60884-0643-43a6-a637-736204f4651an%40googlegroups.com.
