void Append( const CByteArray& source )
void Append( const CDataMemory& source )
-
Appends the contents of
source to this object.
void AppendTo( CByteArray& data )
-
Appends the contents of this object to
data.
void Close( void )
-
Closes the "file".
void Copy( const BYTE * buffer, DWORD number_of_bytes_to_copy )
void Copy( const CByteArray& buffer )
void Copy( const CDataMemory& buffer )
-
Copies the contents of
buffer to this object. It
replaces the current contents of this object with whatever is
in buffer.
void CopyTo( CByteArray& data )
-
Replaces the contents of
data with the contents
of this object.
void Empty( void )
-
Empties this objects.
void Flush( void )
-
Does nothing, just intercept the call.
Since we aren't really a file, it would just cause
the base class to blow up.
const BYTE * GetData( void ) const
-
Returns a pointer to the raw data.
DWORD GetLength( void ) const
-
Returns the number of bytes currently in the buffer.
DWORD GetPosition( void ) const
-
Returns the current file pointer.
BOOL Open( LPCTSTR filename, UINT mode )
-
Doesn't do anything.
UINT Read( void * buffer, UINT number_of_bytes_to_read )
-
Reads data from the buffer.
long Seek( long offset, UINT from )
-
Positions the file pointer.
void Write( const void * buffer, UINT number_of_bytes_to_write )
-
Appends data to the buffer.