[protobuf] Message Descriptor failed Error

2011-06-15 Thread AARADHANA SRIDHARAN
Hello... Am getting "message descriptor failed" error.. Can anyone pls help me out with the causes of this error?? I get Segmentation fault dur to this Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this

[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

Re: [protobuf] Serialization of primitive types

2011-06-15 Thread Marc Gravell
It sounds to me like you are over-complicating things. It is not uncommon to have a separate DTO model for serialization, so simply write a little code to map from your domain model (the comple model described above) to the DTO model (close to the serialization format). It is possible to write