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 (int size)
virtual ~ByteArrayOutputStream ()
void reset () throw ()
int size () throw ()
bytearray * toByteArray ()
void toByteArray (bytearray &b)
void toByteArray (byte *data, int offset, int 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, int offset, int length) throw (IOException)
virtual void write (const bytearray &b) throw (IOException)

Protected Attributes

bytearray buf
int count


Constructor & Destructor Documentation

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

beecrypt::io::ByteArrayOutputStream::ByteArrayOutputStream ( int  size  ) 

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


Member Function Documentation

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.

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

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

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

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

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

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

Reimplemented from beecrypt::io::OutputStream.

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

Reimplemented from beecrypt::io::OutputStream.

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

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


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Jun 19 13:39:42 2009 for BeeCrypt C++ by  doxygen 1.5.8