Re: [protobuf] on the wire sizes

2011-04-01 Thread Evan Jones
On Apr 1, 2011, at 6:54 , AdrianPilko wrote: What is the [best] way to determine the on the wire size? You probably want msg.ByteSize() in C++, msg.getSerializedSize() in Java. Evan -- http://evanjones.ca/ -- You received this message because you are subscribed to the Google Groups "Proto

[protobuf] on the wire sizes

2011-04-01 Thread AdrianPilko
I notice from: http://code.google.com/apis/protocolbuffers/docs/encoding.html There is a description of the size of output messages "on the wire" and presumably this could be used to manually calculate the size of a message. so far so good for simple messages... There are functions in the compil