#include <PushbackInputStream.h>
Public Member Functions | |
PushbackInputStream (InputStream &in, jint size=1) | |
virtual | ~PushbackInputStream () |
virtual jint | available () throw (IOException) |
virtual void | close () throw (IOException) |
virtual bool | markSupported () throw () |
virtual jint | read () throw (IOException) |
virtual jint | read (byte *data, jint offset, jint length) throw (IOException) |
virtual jint | skip (jint n) throw (IOException) |
void | unread (byte) throw (IOException) |
void | unread (const byte *data, jint offset, jint length) throw (IOException) |
void | unread (const bytearray &b) throw (IOException) |
Protected Attributes | |
bytearray | buf |
jint | pos |
beecrypt::io::PushbackInputStream::PushbackInputStream | ( | InputStream & | in, | |
jint | size = 1 | |||
) |
virtual beecrypt::io::PushbackInputStream::~PushbackInputStream | ( | ) | [virtual] |
virtual jint beecrypt::io::PushbackInputStream::available | ( | ) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
virtual void beecrypt::io::PushbackInputStream::close | ( | ) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
virtual bool beecrypt::io::PushbackInputStream::markSupported | ( | ) | throw () [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
virtual jint beecrypt::io::PushbackInputStream::read | ( | byte * | data, | |
jint | offset, | |||
jint | length | |||
) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
virtual jint beecrypt::io::PushbackInputStream::read | ( | ) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
virtual jint beecrypt::io::PushbackInputStream::skip | ( | jint | n | ) | throw (IOException) [virtual] |
Reimplemented from beecrypt::io::FilterInputStream.
void beecrypt::io::PushbackInputStream::unread | ( | const bytearray & | b | ) | throw (IOException) |
void beecrypt::io::PushbackInputStream::unread | ( | const byte * | data, | |
jint | offset, | |||
jint | length | |||
) | throw (IOException) |
void beecrypt::io::PushbackInputStream::unread | ( | byte | ) | throw (IOException) |
bytearray beecrypt::io::PushbackInputStream::buf [protected] |
jint beecrypt::io::PushbackInputStream::pos [protected] |