| Modifier and Type | Method and Description |
|---|---|
static void |
BitBufferHelper.checkExceptions(byte[] data,
int startOffset,
int numBits)
Checks for overflow and underflow exceptions
|
static byte[] |
BitBufferHelper.getBits(byte[] data,
int startOffset,
int numBits)
Reads the specified number of bits from the passed byte array
starting to read from the specified offset
The bits read are stored in a byte array which size is dictated
by the number of bits to be stored.
|
static void |
BitBufferHelper.setByte(byte[] data,
byte input,
int startOffset,
int numBits)
Bits are expected to be stored in the input byte array from LSB
|
static void |
BitBufferHelper.setBytes(byte[] data,
byte[] input,
int startOffset,
int numBits)
Bits are expected to be stored in the input byte array from LSB
|
Copyright © 2015. All Rights Reserved.