Generating subclasses of a protocol buffer serialized class

2009-01-16 Thread Chris
Hi, sorry if this is a dumb question. I have class A which I want to serialize but equally want to add logic to it (which I cant today because its generated). I was wondering if there was: - An ability that if I created class of type B that extends A, where no member variables of B would be seri

Re: Human-readable strings?

2009-01-16 Thread Kenton Varda
Yes, this is true. It's easy to write your own encoding, though. Just look at the way the TextFormat class is written -- it only uses public interfaces. So, you could take the TextFormat class and modify it however you want, or white something entirely different. On Fri, Jan 16, 2009 at 4:55 PM

Human-readable strings?

2009-01-16 Thread Vadim Peretokin
Hi, We're looking into using the buffers for an open-source project because of the better readability over xml files. There is one issue however - quotes and newlines of a string in the text format aren't preserved, but instead replaced with their escaped equivalets (\", \n) and that is not too h

Re: Additional testing file

2009-01-16 Thread Chris
> Please confirm that this is okay, so I can add it to my git/svn > repositories without concerns :) > > Jon I wrote it. I hereby put it in the public domain. Make a party hat out of it. Cheers, Chris --~--~-~--~~~---~--~~ You received this message because