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 compiled protobuf files called
SerializeWithCachedSizesToArray() but these don't return the size of
the data just a uint8* to the data. We've also noticed functions
called int GetCachedSize().

What is the [best] way to determine the on the wire size?

Thankyou
Adrian

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to