Comment #3 on issue 592 by [email protected]: OstreamOutputStream with ofstream loses data from the tail
http://code.google.com/p/protobuf/issues/detail?id=592

Only the owner of the ostream knows when is the most appropriate time to call flush() and apparently OstreamOutputStream doesn't own the underlying ostream so it's not its responsibility to flush the stream. Imaging the case where you need to serialize a lot of messages into the same file, would you like to have every proto.SerializeToOstream(out) call flush the out stream?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to