On Nov 9, 2010, at 16:11 , Brad Lira wrote:
it returns false, but it actually gets the message correctly from
client side, so i am not sure why it thinks that parsing has failed.
any ideas?

How are you putting data into mystr? Protocol buffers contain null bytes, so you must pass both a char* and a length:

mystr.assign(data, length);


Evan Jones

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to