Inheritance diagram for com::sleepycat::util::FastInputStream:
Public Member Functions | |
FastInputStream (byte[] buffer) | |
FastInputStream (byte[] buffer, int offset, int length) | |
final int | readFast () |
final int | readFast (byte[] toBuf) |
final int | readFast (byte[] toBuf, int offset, int length) |
final byte[] | getBufferBytes () |
final int | getBufferOffset () |
final int | getBufferLength () |
This class extends InputStream and its read()
methods allow it to be used as a standard input stream. In addition, it provides readFast()
methods that are not declared to throw IOException
. IOException
is never thrown by this class.
Definition at line 27 of file FastInputStream.java.
|
Creates an input stream.
Definition at line 39 of file FastInputStream.java. |
|
Creates an input stream.
Definition at line 54 of file FastInputStream.java. |
|
Returns the underlying data being read.
Definition at line 154 of file FastInputStream.java. Referenced by com::sleepycat::bind::tuple::TupleBase::inputToEntry(), and com::sleepycat::bind::tuple::TupleInput::readString(). |
|
Returns the end of the buffer being read.
Definition at line 174 of file FastInputStream.java. Referenced by com::sleepycat::bind::tuple::TupleBase::inputToEntry(). |
|
Returns the offset at which data is being read from the buffer.
Definition at line 164 of file FastInputStream.java. Referenced by com::sleepycat::bind::tuple::TupleBase::inputToEntry(), and com::sleepycat::bind::tuple::TupleInput::readString(). |
|
Equivalent to Definition at line 135 of file FastInputStream.java. |
|
Equivalent to Definition at line 125 of file FastInputStream.java. References readFast(). |
|
Equivalent to Definition at line 115 of file FastInputStream.java. Referenced by com::sleepycat::bind::tuple::TupleInput::readBoolean(), com::sleepycat::bind::tuple::TupleInput::readBytes(), readFast(), com::sleepycat::bind::tuple::TupleInput::readUnsignedByte(), com::sleepycat::bind::tuple::TupleInput::readUnsignedInt(), and com::sleepycat::bind::tuple::TupleInput::readUnsignedShort(). |