If the bitstring has a maximum length that is smaller than 32 or 64 bits, 
you could declare it as an integer type.

Otherwise you might want to declare it as a "bytes" type.

On Tuesday, April 18, 2017 at 1:34:01 AM UTC-7, [email protected] 
wrote:
>
> Hello everyone
> I am new to protobuf and trying to figure out if it would be smart to 
> define a telegram-code (which in its bitstring identifies the message type) 
> as a message option and if yes how would you do so?
> Greatly appreciate it and thanks in advance.
>

-- 
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