#include <ByteArrayInputStream.h>
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 |
beecrypt::io::ByteArrayInputStream::ByteArrayInputStream | ( | const byte * | data, | |
jint | offset, | |||
jint | length | |||
) |
beecrypt::io::ByteArrayInputStream::ByteArrayInputStream | ( | const bytearray & | b | ) |
virtual beecrypt::io::ByteArrayInputStream::~ByteArrayInputStream | ( | ) | [virtual] |
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] |
Implements beecrypt::io::InputStream.
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.
bytearray beecrypt::io::ByteArrayInputStream::_buf [protected] |
jint beecrypt::io::ByteArrayInputStream::_count [protected] |
jint beecrypt::io::ByteArrayInputStream::_mark [protected] |
jint beecrypt::io::ByteArrayInputStream::_pos [protected] |