Package org.yamcs.utils
Class BitReader
java.lang.Object
org.yamcs.utils.BitReader
BitReader is a wrapper around the ByteBuffer that allows to read individual bits.
All the readings are performed from a temporary long;
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BitReader
Construct the BitReader as a wrapper around bb- Parameters:
bb
-
-
-
Method Details
-
readLong
public long readLong(int numBits) -
read
public int read(int numBits)
-