Comment #11 on issue 256 by Error Converting Message to array of Bytes (When negative Enum) - Java

The internal buffer for CodedOutputStream should just be a performance optimization; it's an internal buffer so that CodedOutputStream doesn't make a bunch of small writes to an OutputStream, which might be slow.

I still don't see how it is possible to get an OutOfSpaceException if you are using writeDelimitedTo; an OutputStream must be provided for this API, but the OutOfSpaceException is only ever thrown if the CodedOutputStream has a null OutputStream:

Can you start a new thread in the protobuf mailing list, with a small, self-contained reproduction of your problem?

You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to