Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

Detailed Description


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]
 

Implements beecrypt::io::InputStream.

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

bytearray beecrypt::io::ByteArrayInputStream::_buf [protected]
 

size_t beecrypt::io::ByteArrayInputStream::_count [protected]
 

size_t beecrypt::io::ByteArrayInputStream::_mark [protected]
 

size_t beecrypt::io::ByteArrayInputStream::_pos [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Jun 20 10:10:42 2005 for BeeCrypt by  doxygen 1.4.0