I don’t believe protobuf is what you wanna use if you need that level of
control.

On Sun, May 12, 2024 at 9:37 PM Jared Leendertz <[email protected]>
wrote:

> Hello, New to protocol buffer, tying to implement a read write from buffer
> that easily encodes and decodes messages types from a SISO standard. I
> noticed the https://protobuf.dev/programming-guides/encoding/#cheat-sheet
> encoding standard indicates that 3 bits are missing from the variables
> value range in each field on a message. If im implementing to a specific
> standard with fixed sizes is Protocol Buffer suitable? given a fixed32
> appears to be a 29bit field.
>
> I confirmed my worries as i was trying to set default values to 0xFFFFFFFF
> but would get the error Integer out of range.
>
> Should I be using something else or is there a configuration that allows
> me to have more control of the size of my variables and how i want to use
> them?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/b0bfac5f-c9e0-4364-8e69-12990b7bc11fn%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/b0bfac5f-c9e0-4364-8e69-12990b7bc11fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CAD7-yfsnoR1e%2Bx4sD7cTtDEh79f2rmkoAbOe0ZAYBereCyX9nA%40mail.gmail.com.

Reply via email to