开发者

Protobuf-Net: how to serialize guids?

开发者 https://www.devze.com 2023-01-14 13:00 出处:网络
Is there a preferred method for serializing Guids in protobuf-net? It doesn\'t s开发者_运维技巧eem to be a supported type?Apologies for the delay - holiday etc. In protobuf-net, Guid should work fine

Is there a preferred method for serializing Guids in protobuf-net? It doesn't s开发者_运维技巧eem to be a supported type?


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消