A stream for operating on memory buffers. More...
#include <MemoryStream.h>
Public Member Functions | |
MemoryStream (const MemoryStream &ms) | |
MemoryStream & | operator= (const MemoryStream &ms) |
virtual void | Close () |
virtual void | Flush () |
virtual int | Read (Array< byte > &buffer, const int offset, int count) |
int | Read (Array< byte > &buffer) |
virtual int | ReadByte () |
virtual long | Seek (const long offset, const SeekOrigin origin) |
virtual void | Write (const Array< byte > &buffer, const int offset, const int count) |
void | Write (const Array< byte > &buffer) |
virtual void | WriteByte (byte value) |
virtual bool | CanRead () const |
virtual bool | CanSeek () const |
virtual bool | CanWrite () const |
virtual long | Length () const |
virtual long | Position () const |
StringPtr | ToString () |
virtual void | ValidateMem () const |
virtual void | CheckMem () const |
Protected Attributes | |
Vector< byte > | m_buf |
int | m_ptr |
A stream for operating on memory buffers.
Definition at line 43 of file MemoryStream.h.