On Jan 14, 2011, at 9:22 , Tim Wisniewski wrote:
The reason for this is that I can't find a bitset type within the
proto language.  Any thoughts?

This is not possible because the intention is that the .proto file will be portable between many different languages, so it only supports fairly portable types.

I have solved this either by writing a wrapper type that provides a "friendly" interface to the protocol buffer generated types, or by writing some utility methods (eg. maybe BitSetUtils.copyToByteString() / .copyFromByteString()). Either way is a bit of extra mechanical work, but it works.


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 protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to