Hello, thanks for all the responses. Sorry if my goals were not
perfectly clear. To put it simple, what I am looking for is
essentially something like byte[] intBytes =
ProtoBuf.intToBytes(100); / int i =
ProtoBuf.readInt(bytesOfSerializedObject); so that the values are
serialized and deserialized
I didn't really go through the whole thread, so I might have missed
something, but it's not clear to me how you plan to distinguish different
values in the data stream. But protobuf's serialization primitives are in
CodedInputStream/CodedOutputStream.
On Mon, Jun 20, 2011 at 8:49 AM, gabor.dicso
Hello,
I'm trying to compile protobuf-c-0.15 on Ubuntu-10.10. I've been
running into this undefined reference problem and have come up short
on answers thought searches. Any ideas from the dump below what I
should look into?
/bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -pthread -
Quoted from our internal discussion by Kenton:
You should build a MapDescriptor, Message upfront, mapping every
descriptor you care about to the corresponding default instance. Avoid
using Class objects because that will make your code incompatible with
DynamicMessage. Using default instances