On Mon, May 23, 2016 at 9:55 AM, Douglas Lewis <[email protected]> wrote:
> I'm working on a project and we are hoping to use protocol buffers for
> messages between embedded and PC based applications.
>
> One issue I've immediately run into is protocol buffers only has 32 and 64
> bit integers, I'm needing 16 and 8 bit integers for fields in the messages.
> Has anyone been able to successfully add integer types to protocol buffers?
> We are using C++ on the embedded side and Java on the PC side.

Non-fixed integers have varint encoding, so it doesn't matter how many
bits there are... or are you talking about fixed integers?

  -ilia

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