It's quite easy to write a helper function that reads/writes delimited
messages (delimited by size or by end tag).
For example, here's one for writing a length-delimited message:
bool WriteMessage(const Message& message, ZeroCopyOutputStream* output) {
CodedOutputStream coded_out(output);
retu
Thanks very much Jon (see below). You make good points and I like the
approach the you describe. I am still thinking, however, that there is
power in the ability for message instances to write and parse themselves
from a stream.
A message instance could be passed a stream object which chains ba