Stream interface. More...
#include <IStream.h>
Public Types | |
enum | _SeekOrigin { SEEK_Begin = 0, SEEK_Current = 1, SEEK_End = 2 } |
typedef enum spl::IStream::_SeekOrigin | SeekOrigin |
Public Member Functions | |
virtual void | Close ()=0 |
virtual void | Flush ()=0 |
virtual int | Read (Array< byte > &buffer, const int offset, int count)=0 |
int | Read (Array< byte > &buffer) |
virtual int | ReadByte ()=0 |
virtual long | Seek (const long offset, const SeekOrigin origin)=0 |
virtual void | Write (const Array< byte > &buffer, const int offset, const int count)=0 |
void | Write (const Array< byte > &buffer) |
virtual void | WriteByte (byte value)=0 |
virtual bool | CanRead () const =0 |
virtual bool | CanSeek () const =0 |
virtual bool | CanWrite () const =0 |
virtual long | Length () const =0 |
virtual long | Position () const =0 |
virtual void | ValidateMem () const =0 |
virtual void | CheckMem () const =0 |
Stream interface.
Definition at line 43 of file IStream.h.
typedef enum spl::IStream::_SeekOrigin spl::IStream::SeekOrigin |
Offset position for seeks.