Uses two different streams for input and output. More...
#include <DualChannelStream.h>
Public Member Functions | |
DualChannelStream (spl::IStreamPtr input, spl::IStreamPtr output, bool canClose=false) | |
virtual void | Close () |
virtual void | Flush () |
virtual int | Read (Array< byte > &buffer, const int offset, int count) |
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) |
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 |
virtual void | ValidateMem () const |
virtual void | CheckMem () const |
Protected Attributes | |
spl::IStreamPtr | m_in |
spl::IStreamPtr | m_out |
Uses two different streams for input and output.
Definition at line 38 of file DualChannelStream.h.