[protobuf] C++ JsonToBinaryStream losing large uint32 values

2016-02-11 Thread Ron
Hi, I'm using the proto3 C++ library compiled in MSVC, and noticed some pretty strange behavior - using the JsonToBinaryString or JsonToBinaryStream functions, values in the upper half of the uint32 range get lost in the transition from JSON to binary. After some investigation, it seems the

[protobuf] Serializing mixed type array with protobuf

2016-02-11 Thread Flo Loferer
In my Objective-C code, I have an array of items of mixed types I'd like to serialize with protobuf. Is this possible and if so, what would the message look like? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this

[protobuf] Serializing mixed type arrays with protobuf

2016-02-11 Thread Flo Loferer
I have an array containing two different object types. Is there a chance to serialize this array with protobuf? What would the message definition look like? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and

[protobuf] Using different versions of Protobuf

2016-02-11 Thread Andrea Ferretti
Hi, I am trying to understand how to manage the difference in runtime classes across protobuf versions. Protobuf is designed so that people are able to evolve versions of their own schemas without breaking things. This has some limitations, but in some way works. The real issue arises when

[protobuf] Re: Unhelpful compiler warning when a file has no syntax declaration

2016-02-11 Thread 'Josh Haberman' via Protocol Buffers
Hi there -- sorry for the delay on your PR, a couple guys are OOTO right now so we're a bit backed up. I just merged it. In general, we should be monitoring PR's and not letting them sit too long. A conversation first can be good if the change is involved, but for simple changes like this just