Public Member Functions
|istream (const InputBuffer &buf)|
|Constructor, requires an InputBuffer to read from. |
|istream (const OutputBuffer &buf)|
|Constructor, takes an OutputBuffer to read from (by making a shallow copy to an InputBuffer). |
|const InputBuffer &||getBuffer () const|
|Return the InputBuffer this stream is reading from. |
Custom istream class for reading from an InputBuffer.
If the buffer contains binary data, then it is recommended to only use the read() and readsome() functions--get() or getline() may be confused if the binary data happens to contain an EOF character.
For buffers containing text, the full implementation of istream is safe.
|avro::istream::istream||(||const OutputBuffer &||buf||)||