beecrypt::io::PushbackInputStream Class Reference
[C++ classes mimicking java.io]

#include <PushbackInputStream.h>

Inheritance diagram for beecrypt::io::PushbackInputStream:

Inheritance graph
[legend]
Collaboration diagram for beecrypt::io::PushbackInputStream:

Collaboration graph
[legend]

List of all members.

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


Constructor & Destructor Documentation

beecrypt::io::PushbackInputStream::PushbackInputStream ( InputStream in,
size_t  size = 1 
)

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


Member Function Documentation

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 ( byte data,
size_t  offset,
size_t  length 
) throw (IOException) [virtual]

Reimplemented from beecrypt::io::FilterInputStream.

virtual int beecrypt::io::PushbackInputStream::read (  )  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 ( const bytearray b  )  throw (IOException)

void beecrypt::io::PushbackInputStream::unread ( const byte data,
size_t  offset,
size_t  length 
) throw (IOException)

void beecrypt::io::PushbackInputStream::unread ( byte   )  throw (IOException)


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Fri Jul 24 19:10:48 2009 for BeeCrypt by  doxygen 1.5.9