Hello,

Possibly asked before. Suppose I have 

repeated string   stringValue2        = 14;

and given a vector of strings some of which can be NULL. I notice that if i 
add it via

rexp->add_stringvalue2(NULL,0);

the serialized bytes is the same as adding "".

How does one differentiate between NULL string and "" string?

Should I encode each string as a STRING1 which is message with two fields 
isNULL and string ?

Cheers
Saptarshi

-- 
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/groups/opt_out.

Reply via email to