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 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 <osman...@gmail.com 
> <javascript:>> wrote:
>
>> 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 emails from it, send an 
>> email to protobuf+u...@googlegroups.com <javascript:>.
>> To post to this group, send email to prot...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/protobuf.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to