I have  a field dbNodeName

It is decorated [(nanopb)max_size = 20]

max_size is in an imported nanobp.proto and is defined as "option int32 
max_size = 1;"

So in my proto I use the imported (nanopb) max_size like this:

required string dbNodeName = 3 [(nanopb)max_size = 20];  //where nanopb 
max_size is defined as  "optional int32 max_size = 1;"

but what does max_size=20 mean?  i would guess a string buffer of 20 
chars,  but max_size is one int32


-- 
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 https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to