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 IOException
IOException - as per streaming contract in java.int readBits(int length)
throws IOException
length - number of bits to readIOException - as per streaming contract in java.long readLongBits(int length)
throws IOException
length - number of bits to readIOException - as per streaming contract in java.