ASCII safe serialization of protocol buffers?

If you want to be lazy you could always base64 the binary output.

You should be able to use the TextFormat class with its Parse and Print functions. I can't remember offhand how that treats non-ASCII string fields, so you should check that, but it's the general support for text in Protocol Buffers. Various other platforms support the same format, so it's still portable.

It's too verbose. Not much better than JSON – Alexey Timanovsky Feb 25 at 7:18 @Alexey: You didn't ask for a concise textual serialization format. You asked how to pass protocol buffers as ASCII strings.

I answered the question you asked - if you wanted to know something else, you should have asked the question you were really interested in. – Jon Skeet Feb 25 at 7:20.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions