VMime
|
Public Member Functions | |
virtual bool | eof () const =0 |
virtual void | reset ()=0 |
virtual size_t | read (byte_t *const data, const size_t count)=0 |
virtual size_t | skip (const size_t count)=0 |
Public Member Functions inherited from stream | |
virtual | ~stream () |
virtual size_t | getBlockSize () |
Additional Inherited Members | |
Protected Member Functions inherited from object | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Simple input stream.
|
pure virtual |
Test for end of stream (no more data to read).
Implemented in stopSequenceFilteredInputStream< COUNT >, dotFilteredInputStream, inputStreamSocketAdapter, seekableInputStreamRegionAdapter, parserInputStreamAdapter, inputStreamStringProxyAdapter, inputStreamAdapter, inputStreamStringAdapter, and inputStreamByteBufferAdapter.
Referenced by IMAPFolder::addMessage(), vmime::utility::bufferedStreamCopy(), vmime::utility::bufferedStreamCopyRange(), b64Encoder::decode(), uuEncoder::decode(), qpEncoder::decode(), b64Encoder::encode(), qpEncoder::encode(), uuEncoder::encode(), and dotFilteredInputStream::eof().
Read data from the stream.
data | will receive the data read |
count | maximum number of bytes to read |
Implemented in stopSequenceFilteredInputStream< COUNT >, stopSequenceFilteredInputStream< COUNT >, stopSequenceFilteredInputStream< COUNT >, dotFilteredInputStream, inputStreamSocketAdapter, seekableInputStreamRegionAdapter, parserInputStreamAdapter, inputStreamStringProxyAdapter, inputStreamAdapter, inputStreamStringAdapter, and inputStreamByteBufferAdapter.
Referenced by IMAPFolder::addMessage(), vmime::utility::bufferedStreamCopy(), vmime::utility::bufferedStreamCopyRange(), b64Encoder::decode(), uuEncoder::decode(), qpEncoder::decode(), uuEncoder::encode(), b64Encoder::encode(), qpEncoder::encode(), dotFilteredInputStream::read(), and stopSequenceFilteredInputStream< COUNT >::read().
|
pure virtual |
Set the read pointer to the beginning of the stream.
Implemented in stopSequenceFilteredInputStream< COUNT >, dotFilteredInputStream, inputStreamSocketAdapter, seekableInputStreamRegionAdapter, parserInputStreamAdapter, inputStreamStringProxyAdapter, inputStreamAdapter, inputStreamStringAdapter, and inputStreamByteBufferAdapter.
Referenced by b64Encoder::decode(), noopEncoder::decode(), uuEncoder::decode(), qpEncoder::decode(), uuEncoder::encode(), b64Encoder::encode(), noopEncoder::encode(), qpEncoder::encode(), and dotFilteredInputStream::reset().
Skip a number of bytes.
count | maximum number of bytes to ignore |
Implemented in stopSequenceFilteredInputStream< COUNT >, dotFilteredInputStream, parserInputStreamAdapter, inputStreamSocketAdapter, seekableInputStreamRegionAdapter, inputStreamStringProxyAdapter, inputStreamAdapter, inputStreamStringAdapter, and inputStreamByteBufferAdapter.
Referenced by vmime::utility::bufferedStreamCopyRange().