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

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 ()

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

void beecrypt::io::ByteArrayOutputStream::toByteArray ( byte data,
size_t  offset,
size_t  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,
size_t  offset,
size_t  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 Jul 24 19:07:18 2009 for BeeCrypt by  doxygen 1.5.9