[protobuf] Bytes type limit of 4 GB

2021-06-11 Thread David Yat Sin
Hi, I am trying to store large buffers that can potentially grow to 32 GB, but when using the bytes type, I see the unpack fails when the size is just below 4GB. Is that a known limitation? Would you have a recommendation on how to pack buffers > 32 GB. proto file:

[protobuf] Visual Studio 2015 compiler issue

2021-06-11 Thread Bill Leisge
I am having a odd issue with a GPB message containing an Optional field of type float. The VS compiler generates inline function for the set_variable() referencing this+16h and the get function variable() referencing this+18h. Changing the .proto field type to uint32 gave the same result.