[protobuf] Serialization of primitive types

2011-06-15 Thread gabor.dicso
Hi all, I would like to be able to serialize primitive types platform- independently. I have hand-written Java data classes and I want to serialize their primitive fields using a cross-platform framework. These classes can not be generated, they must be written by hand, additional code is generate

[protobuf] Re: Serialization of primitive types

2011-06-20 Thread gabor.dicso
til the last possible moment before sending, and I > > immediately convert to the java class on receiving data. That lets me > > put my protobuf objects behind a facade, so I don't need to know the > > serialization details. > > > -- Miguel Muñoz > > > On

[protobuf] Re: Serialization of primitive types

2011-06-22 Thread gabor.dicso
in the data stream. But protobuf's serialization primitives are in > CodedInputStream/CodedOutputStream. > > > > > > > > On Mon, Jun 20, 2011 at 8:49 AM, gabor.dicso wrote: > > Hello, thanks for all the responses. Sorry if my goals were not > > perfectly clear.