class OstreamOutputStream

Defined at line 231 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h

A ZeroCopyOutputStream which writes to a C++ ostream.

Note that for writing files (or anything represented by a file descriptor),

FileOutputStream is more efficient.

Public Methods

void OstreamOutputStream (std::ostream * stream, int block_size)

Creates a stream that writes to the given C++ ostream.

If a block_size is given, it specifies the size of the buffers

that should be returned by Next(). Otherwise, a reasonable default

is used.

void OstreamOutputStream (const OstreamOutputStream & )

Defined at line 238 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h

OstreamOutputStream & operator= (const OstreamOutputStream & )

Defined at line 239 of file ../../third_party/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h

void ~OstreamOutputStream ()
bool Next (void ** data, int * size)

implements ZeroCopyOutputStream ---------------------------------

void BackUp (int count)
int64_t ByteCount ()