This is working fine. I am not sure when i removed the binary flag
while creating binary file. I feel sorry for taking so long to
identify this issue :(
Thanks for your help. You were very quick in identifying the issue.
On Dec 15, 6:29 pm, Oliver Jowett <oliver.jow...@gmail.com> wrote:
> On Thu, Dec 15, 2011 at 10:56 PM, alok <alok.jad...@gmail.com> wrote:
> > (object 3 - corrupt)
> > 09 71 3d 0d 0a d7 c3 27 dc 40 12 07 30 30 32 33 2e 48 4b 19 00 00 00
> > 00 00 00 3b 40 20 00 28
> You have something that's opening the file in text mode and expanding
> newlines (see the 0d 0a in there - that's CR LF).
> Probably you have the same error on both the reader and writer in the
> C++ case, so it cancels itself out in that case.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at