Hi, we are looking at replacing a XML/JAXB project with something
similar to protocol buffers, especially since it's multi-platform, but
there are a couple of concerns we have seen that would prevent us from
switching. I'd like to verify that what we think is actually true
before passing on what seems to be a very cool solution Google has
come up with.

My main question revolves around how the bytes are stored. In our
current solution, we store by bit, so some items have very strange
amounts of bits being stored (i.e. 5 bits, 14 bits). We noticed that
protocol buffers seem to only store by byte or word (very even amounts
of bits) and have a unique way of encoding.

Basically, we need some way of specifying how the bytes are encoded/
written to memory, and we need to specify the number of bits written
each time. Is this possible to do in protocol buffers? And if so, how
would it be accomplished?

Thanks. Any help is greatly appreciated.

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