开发者

Human-readable representations in protobuf-net

开发者 https://www.devze.com 2023-03-20 15:58 出处:网络
Does protobu开发者_如何学Cf-net have any APIs to dump a protobuf into human readable form? I was hoping for something like TextFormat.At the moment, no. I\'m in two minds as to whether it is worthwhil

Does protobu开发者_如何学Cf-net have any APIs to dump a protobuf into human readable form? I was hoping for something like TextFormat.


At the moment, no. I'm in two minds as to whether it is worthwhile adding; in my mind, this defeats most of the benefits of protocol buffers.

However, since Jon's version is a port of the java version you should find that it is feature compatible, so it should exist there.


there is one for java. the build.toString() method returns a string representation but you'll loose the serialization.

0

精彩评论

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