class IstreamInputStream

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

A ZeroCopyInputStream which reads from a C++ istream.

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

FileInputStream is more efficient.

Public Methods

void IstreamInputStream (std::istream * stream, int block_size)

Creates a stream that reads from the given C++ istream.

If a block_size is given, it specifies the number of bytes that

should be read and returned with each call to Next(). Otherwise,

a reasonable default is used.

void IstreamInputStream (const IstreamInputStream & )

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

bool Next (const void ** data, int * size)

implements ZeroCopyInputStream ----------------------------------

void BackUp (int count)
bool Skip (int count)
int64_t ByteCount ()
IstreamInputStream & operator= (const IstreamInputStream & )

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