Hello,

as per various forums it is mentioned that in serialized string can have 
null character in between.
I just wanted to know how is protobuf able to find the end of the string 
being passed for deserialization. 

Actually, when i am deserialization a the string it is failing. This 
happens when the int32 value passed for serialization is 0. In case if we 
pass any value above 0 gets de-serialized successfully,

I have checked the serialized string characters and in case of 0 value, 
there is a null character representing it.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to