class BitStream extends BitInputStream
| Constructor and Description |
|---|
BitStream(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
nextBit()
Returns the next bit.
|
(package private) long |
nextBits(int n)
Returns the integer value formed by the n next bits (up to 8 bits).
|
(package private) int |
nextByte() |
alignWithByteBoundary, bitsAvailable, bitsCached, clearBitCache, close, getBytesRead, readBitsint nextBit()
throws java.io.IOException
java.io.IOExceptionlong nextBits(int n)
throws java.io.IOException
n - the number of bits read (up to 8)java.io.IOExceptionint nextByte()
throws java.io.IOException
java.io.IOException