public interface BitInputStream
extends java.io.Closeable
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()
int readBits(int length)
length - number of bits to readlong readLongBits(int length)
length - number of bits to read