[protobuf] Cannot deserialize protobuf data from C++ in Java

2011-04-15 Thread platzhirsch
My problem is to serialize protobuf data in C++ and deserialize the data in Java probably. In fact I get **InvalidProtobufferException** in Java. Here is my minimal example: My protobuf file looks like this: option java_outer_classname = NameProtos; message Name { required

Re: [protobuf] Cannot deserialize protobuf data from C++ in Java

2011-04-15 Thread Jason Hsueh
On Fri, Apr 15, 2011 at 2:06 AM, platzhirsch konrad.rei...@googlemail.comwrote: My problem is to serialize protobuf data in C++ and deserialize the data in Java probably. In fact I get **InvalidProtobufferException** in Java. Here is my minimal example: My protobuf file looks like this: