public final class LSBBytesBitRegister extends BitRegister
bitCount, MAX_BIT_COUNT, register| Constructor and Description |
|---|
LSBBytesBitRegister() |
| Modifier and Type | Method and Description |
|---|---|
int |
discardBits(int count)
Discard bits from the register.
|
int |
feedBits(byte b)
Feed additional bits to the register.
|
int |
peekBits(int count)
Take a peek at the register's bits.
|
bitCount, clearpublic int feedBits(byte b)
BitRegisterfeedBits in class BitRegisterb - The byte bits to feed.public int peekBits(int count)
BitRegisterpeekBits in class BitRegistercount - The number of bits to return.public int discardBits(int count)
BitRegisterdiscardBits in class BitRegistercount - The number of bits to discard.