Function to read bits in a byte buffer. This function is used to extract up bit values from an array. Up to eight bit values can be extracted in one step.
UCHAR ucBits[2] = {0, 0};
UCHAR ucResult;
// Extract the bits 3 - 10.
ucResult = xMBUtilGetBits( ucBits, 3, 8 );