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