public interface BitInputStream
InputStream
concept.Modifier and Type | Method and Description |
---|---|
boolean |
readBit()
Reads a single bit from the stream.
|
int |
readBits(int length)
Read specified number of bits from the stream.
|
long |
readLongBits(int length)
Read specified number of bits from the stream.
|
boolean readBit() throws java.io.IOException
java.io.IOException
- as per streaming contract in java.int readBits(int length) throws java.io.IOException
length
- number of bits to readjava.io.IOException
- as per streaming contract in java.long readLongBits(int length) throws java.io.IOException
length
- number of bits to readjava.io.IOException
- as per streaming contract in java.