Comment #11 on issue 256 by jas...@google.com: Error Converting Message to array of Bytes (When negative Enum) - Java
http://code.google.com/p/protobuf/issues/detail?id=256

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: http://code.google.com/p/protobuf/source/browse/trunk/java/src/main/java/com/google/protobuf/CodedOutputStream.java#795

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 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