Protobuf-Net: how to serialize guids?
-
26-09-2019 - |
Question
Is there a preferred method for serializing Guids in protobuf-net? It doesn't seem to be a supported type?
Solution
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).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow