[protobuf] protobuf newbie questions

2014-06-18 Thread ajay . sonawane
Hi, I'm new to protobuf library. I have generated a .h and .cc file out of a sample .proto file by using protoc.exe on windows. I want to know 1. Can I use above generated files on MAC without any change? 2. Can I use the same files generated using 32 bit protoc.exe on windows for 64 build

[protobuf] Deserializing Corrupted data

2014-06-23 Thread ajay . sonawane
Hello, I want to know how does protocol buffers handles corrupted data while de-serializing stream. Is there any way to know if data has been corrupted. Does protocol buffer provides any inbuilt mechanism for data integrity check? Thanks, -- You received this message because you are

[protobuf] Re: Deserializing Corrupted data

2014-06-23 Thread ajay . sonawane
Would it throw exception or just fail in parsing without any crash in case of data corruption ? On Monday, 23 June 2014 16:47:37 UTC+5:30, ajay.s...@gmail.com wrote: Hello, I want to know how does protocol buffers handles corrupted data while de-serializing stream. Is there any way to