|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream | +--java.io.FilterInputStream | +--java.io.DataInputStream | +--com.tagtraum.perf.io.XtendedDataInputStream
Stream that can read bits und halfbytes.
XtendedDataOutputStream
Field Summary |
Fields inherited from class java.io.FilterInputStream |
in |
Constructor Summary | |
XtendedDataInputStream(java.io.InputStream in)
|
Method Summary | |
void |
discard()
If less than a full byte was read, calling this method discards the remaining bits of the current byte. |
boolean |
readBit()
Reads a bit from the underlying stream. |
int |
readHalfByte()
Reads half a byte from the underlying stream. |
Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XtendedDataInputStream(java.io.InputStream in)
Method Detail |
public boolean readBit() throws java.io.IOException
java.io.EOFException
- when the end of this stream has been reached.
java.io.IOException
public int readHalfByte() throws java.io.IOException
java.io.EOFException
- when the end of this stream has been reached.
java.io.IOException
public void discard() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |