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, jint offset, jint length)
 ByteArrayInputStream (const bytearray &b)
virtual ~ByteArrayInputStream ()
virtual jint available () throw (IOException)
virtual void close () throw (IOException)
virtual void mark (jint readlimit) throw ()
virtual bool markSupported () throw ()
virtual jint read () throw (IOException)
virtual jint read (byte *data, jint offset, jint length) throw (IOException)
virtual jint read (bytearray &b) throw (IOException)
virtual void reset () throw (IOException)
virtual jint skip (jint n) throw (IOException)

Protected Attributes

bytearray _buf
jint _count
jint _mark
jint _pos


Constructor & Destructor Documentation

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

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

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


Member Function Documentation

virtual jint 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 ( jint  readlimit  )  throw () [virtual]

Reimplemented from beecrypt::io::InputStream.

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

Reimplemented from beecrypt::io::InputStream.

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

Reimplemented from beecrypt::io::InputStream.

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

Reimplemented from beecrypt::io::InputStream.

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

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

Reimplemented from beecrypt::io::InputStream.

virtual jint beecrypt::io::ByteArrayInputStream::skip ( jint  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 Jun 19 13:39:42 2009 for BeeCrypt C++ by  doxygen 1.5.8