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

#include <ByteArrayInputStream.h>

Inheritance diagram for beecrypt::io::ByteArrayInputStream:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ByteArrayInputStream (const byte *data, size_t offset, size_t length)
 ByteArrayInputStream (const bytearray &b)
virtual ~ByteArrayInputStream ()
virtual off_t available () throw (IOException)
virtual void close () throw (IOException)
virtual void mark (off_t readlimit) throw ()
virtual bool markSupported () throw ()
virtual int read () throw (IOException)
virtual int read (byte *data, size_t offset, size_t length) throw (IOException)
virtual int read (bytearray &b) throw (IOException)
virtual void reset () throw (IOException)
virtual off_t skip (off_t n) throw (IOException)

Protected Attributes

bytearray _buf
size_t _count
size_t _mark
size_t _pos


Constructor & Destructor Documentation

beecrypt::io::ByteArrayInputStream::ByteArrayInputStream ( const byte data,
size_t  offset,
size_t  length 
)

beecrypt::io::ByteArrayInputStream::ByteArrayInputStream ( const bytearray b  ) 

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


Member Function Documentation

virtual off_t beecrypt::io::ByteArrayInputStream::available (  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::InputStream.

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

Reimplemented from beecrypt::io::InputStream.

virtual void beecrypt::io::ByteArrayInputStream::mark ( off_t  readlimit  )  throw () [virtual]

Reimplemented from beecrypt::io::InputStream.

virtual bool beecrypt::io::ByteArrayInputStream::markSupported (  )  throw () [virtual]

Reimplemented from beecrypt::io::InputStream.

virtual int beecrypt::io::ByteArrayInputStream::read ( bytearray b  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::InputStream.

virtual int beecrypt::io::ByteArrayInputStream::read ( byte data,
size_t  offset,
size_t  length 
) throw (IOException) [virtual]

Reimplemented from beecrypt::io::InputStream.

virtual int beecrypt::io::ByteArrayInputStream::read (  )  throw (IOException) [virtual]

virtual void beecrypt::io::ByteArrayInputStream::reset (  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::InputStream.

virtual off_t beecrypt::io::ByteArrayInputStream::skip ( off_t  n  )  throw (IOException) [virtual]

Reimplemented from beecrypt::io::InputStream.


Member Data Documentation


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

Generated on Fri Jul 24 19:10:34 2009 for BeeCrypt by  doxygen 1.5.9