VMime
|
Public Member Functions | |
virtual size_t | getPosition () const =0 |
virtual void | seek (const size_t pos)=0 |
Public Member Functions inherited from inputStream | |
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 () |
An input stream that allows seeking within the input.
|
pure virtual |
Returns the current position in this stream.
Implemented in parserInputStreamAdapter, seekableInputStreamRegionAdapter, inputStreamStringProxyAdapter, inputStreamAdapter, inputStreamStringAdapter, and inputStreamByteBufferAdapter.
|
pure virtual |
Sets the position, measured from the beginning of this stream, at which the next read occurs.
pos | the offset position, measured in bytes from the beginning of the stream, at which to set the stream pointer. |
Implemented in seekableInputStreamRegionAdapter, inputStreamStringProxyAdapter, parserInputStreamAdapter, inputStreamAdapter, inputStreamStringAdapter, and inputStreamByteBufferAdapter.