[protobuf] Decoding protobuf buffer

2013-01-01 Thread MichaelMelamud
Hi, I have a file that is in protobuf format ,also i have the .proto schema ,i am working on a embedded platform,so using protobuf as is ,is a kind of problematic. I was trying to decode the buffer by myself but no luck for now , i red this document https://developers.google.com/protocol-buffers

Re: [protobuf] Decoding protobuf buffer

2013-01-01 Thread Hochhaus, Andrew
Michael, On Tue, Jan 1, 2013 at 9:19 AM, MichaelMelamud <00mo...@gmail.com> wrote: > i am working on a embedded platform,so using protobuf as > is ,is a kind of problematic. Have you considered using "optimize_for = LITE_RUNTIME"? https://developers.google.com/protocol-buffers/docs/proto Altern

Re: [protobuf] Decoding protobuf buffer

2013-01-01 Thread Hochhaus, Andrew
On Tue, Jan 1, 2013 at 10:15 AM, Hochhaus, Andrew wrote: >> Also is there an option in the protobuf when preparing the data not to >> encode it and leave it as is ? Maybe you are looking for a human readable text encoding of the data? If so, check out google::protobuf::TextFormat. (However, this

[protobuf] Re: Issue 444 in protobuf: ShutdownProtobufLibrary() have to be called from each binaries, not only once.

2013-01-01 Thread protobuf
Comment #2 on issue 444 by mjkl...@gmail.com: ShutdownProtobufLibrary() have to be called from each binaries, not only once. http://code.google.com/p/protobuf/issues/detail?id=444 Unfortunately, protobuf not supporting CMake makes difficult to maintain upgrading it when you use the dll libr

[protobuf] Re: Issue 444 in protobuf: ShutdownProtobufLibrary() have to be called from each binaries, not only once.

2013-01-01 Thread protobuf
Comment #3 on issue 444 by mjkl...@gmail.com: ShutdownProtobufLibrary() have to be called from each binaries, not only once. http://code.google.com/p/protobuf/issues/detail?id=444 (sorry I forgot to say why): ...because the default config of protobuf project files for all platforms is to c

[protobuf] Re: Decoding protobuf buffer

2013-01-01 Thread MichaelMelamud
Hi, Thank you all for your replies, i will defiantly try the protobuf- embedded tomorrow , it sounds great. to tell you the truth i managed to compile and run the full protobuf on my embedded system,but when i decode the messages ,the first message decodes fine, but the second message sends me to