Applies DES on data written and read. More...
#include <DesStream.h>
Public Member Functions | |
DesStream (const String &password, spl::IStreamPtr stream) | |
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 | |
DES | m_des |
String | m_password |
spl::IStreamPtr | m_stream |
bool | m_ownStream |
Applies DES on data written and read.
Definition at line 42 of file DesStream.h.