Re: [protobuf] Proto3 Storing UUID

2016-05-07 Thread Walter Schulze
I wish there was just a 128 bit type, that could be used for uuid and ipv6, but for now we are stuck with the choice between bytes and two fixed64s, and the two groups of people that disagree about which is better. On Saturday, 7 May 2016 02:00:02 UTC+2, Adam Cozzette wrote: > > The bytes type

Re: [protobuf] Proto3 Storing UUID

2016-05-06 Thread 'Adam Cozzette' via Protocol Buffers
The bytes type sounds like a good choice to me. I could also imagine using a pair of fixed64 fields if you want to avoid having to validate the length of the byte string. On Thu, Apr 28, 2016 at 10:39 PM, Osman Ali wrote: > Looking use a 128 bit uuid according to rfc4122.

[protobuf] Proto3 Storing UUID

2016-05-02 Thread Osman Ali
Looking use a 128 bit uuid according to rfc4122. For Proto3 should use bytes type? So: message SendIdentifier { bytes user_uuid = 1; } -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving