#include <support/IByteStream.h>
Inheritance diagram for IByteSeekable:

Public Member Functions | |
| virtual off_t | Position () const =0 |
| Return the current location in the stream, or a negative error code. | |
| virtual off_t | Seek (off_t position, uint32_t seek_mode)=0 |
| Move to a new location in the stream. | |
|
|
Return the current location in the stream, or a negative error code.
Implemented in BStreamDatum::Stream, BBufferIO, BByteStream, BReadOnlyStream, and BWriteOnlyStream. |
|
||||||||||||
|
Move to a new location in the stream. The seek_mode can be either SEEK_SET, SEEK_END, or SEEK_CUR. Returns the new location, or a negative error code. Implemented in BStreamDatum::Stream, BBufferIO, BByteStream, BReadOnlyStream, and BWriteOnlyStream. |