Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ArraySink Class Reference

Copy input to a memory buffer. More...

#include <filters.h>

Inheritance diagram for ArraySink:

Sink BufferedTransformation ArrayXorSink List of all members.

Public Methods

 ArraySink (byte *buf,unsigned int size)
unsigned int AvailableSize ()
unsigned long TotalPutLength ()
void Put (byte b)
 input a byte for processing. More...

void Put (const byte *str,unsigned int len)
 input multiple bytes. More...


Protected Attributes

byte* m_buf
unsigned int m_size
unsigned long m_total

Detailed Description

Copy input to a memory buffer.

Definition at line 357 of file filters.h.


Constructor & Destructor Documentation

ArraySink::ArraySink ( byte * buf,
unsigned int size ) [inline]
 

Definition at line 360 of file filters.h.


Member Function Documentation

unsigned int ArraySink::AvailableSize ( ) [inline]
 

Definition at line 362 of file filters.h.

void ArraySink::Put ( const byte * str,
unsigned int len ) [inline, virtual]
 

input multiple bytes.

Reimplemented from BufferedTransformation.

Reimplemented in ArrayXorSink.

Definition at line 372 of file filters.h.

void ArraySink::Put ( byte b ) [inline, virtual]
 

input a byte for processing.

Reimplemented from BufferedTransformation.

Reimplemented in ArrayXorSink.

Definition at line 365 of file filters.h.

unsigned long ArraySink::TotalPutLength ( ) [inline]
 

Definition at line 363 of file filters.h.


Member Data Documentation

byte * ArraySink::m_buf [protected]
 

Definition at line 380 of file filters.h.

unsigned int ArraySink::m_size [protected]
 

Definition at line 381 of file filters.h.

unsigned long ArraySink::m_total [protected]
 

Definition at line 382 of file filters.h.


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 01:16:40 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000