beecrypt::io::ByteArrayOutputStream Class Reference
[C++ classes mimicking java.io]

#include <ByteArrayOutputStream.h>

Inheritance diagram for beecrypt::io::ByteArrayOutputStream:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::io::ByteArrayOutputStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ByteArrayOutputStream ()
 ByteArrayOutputStream (size_t size)
virtual ~ByteArrayOutputStream ()
void reset () throw ()
size_t size () throw ()
bytearraytoByteArray ()
void toByteArray (bytearray &b)
void toByteArray (byte *data, size_t offset, size_t length)
void writeTo (OutputStream &out) throw (IOException)
virtual void close () throw (IOException)
virtual void flush () throw (IOException)
virtual void write (byte b) throw (IOException)
virtual void write (const byte *data, size_t offset, size_t length) throw (IOException)
virtual void write (const bytearray &b) throw (IOException)

Protected Attributes

bytearray buf
size_t count

Constructor & Destructor Documentation

beecrypt::io::ByteArrayOutputStream::ByteArrayOutputStream (  ) 

beecrypt::io::ByteArrayOutputStream::ByteArrayOutputStream ( size_t  size  ) 

virtual beecrypt::io::ByteArrayOutputStream::~ByteArrayOutputStream (  )  [virtual]


Member Function Documentation

void beecrypt::io::ByteArrayOutputStream::reset (  )  throw ()

size_t beecrypt::io::ByteArrayOutputStream::size (  )  throw ()

bytearray* beecrypt::io::ByteArrayOutputStream::toByteArray (  ) 

void beecrypt::io::ByteArrayOutputStream::toByteArray ( bytearray b  ) 

void beecrypt::io::ByteArrayOutputStream::toByteArray ( byte data,
size_t  offset,
size_t  length 
)

void beecrypt::io::ByteArrayOutputStream::writeTo ( OutputStream out  )  throw (IOException)

virtual void beecrypt::io::ByteArrayOutputStream::close (  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::flush (  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::write ( byte  b  )  throw (IOException) [virtual]

Implements beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::write ( const byte data,
size_t  offset,
size_t  length 
) throw (IOException) [virtual]

Reimplemented from beecrypt::io::OutputStream.

virtual void beecrypt::io::ByteArrayOutputStream::write ( const bytearray b  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::OutputStream.


Member Data Documentation

bytearray beecrypt::io::ByteArrayOutputStream::buf [protected]

size_t beecrypt::io::ByteArrayOutputStream::count [protected]


The documentation for this class was generated from the following file:
Generated on Wed Aug 22 06:25:34 2007 for BeeCrypt by  doxygen 1.5.2