Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Protobuf-Net: how to serialize guids?

Tags:

protobuf-net

Is there a preferred method for serializing Guids in protobuf-net? It doesn't seem to be a supported type?

like image 221
Steve Avatar asked Aug 31 '10 15:08

Steve


1 Answers

Apologies for the delay - holiday etc. In protobuf-net, Guid should work fine - it is treated pretty much as a byte[]. To confirm: do you mean protobuf-net (a specific implementation)? Or just protobuf generally (where it isn't a core type).

like image 151
Marc Gravell Avatar answered Dec 30 '22 20:12

Marc Gravell