Searched refs:bitsFromByte (Results 1 – 1 of 1) sorted by relevance
47 uint32_t bitsFromByte = (bitsLeftInByte < numBits) ? bitsLeftInByte : numBits; in readBits() local48 uint32_t result = byte >> (bitsLeftInByte - bitsFromByte); in readBits()49 result &= (1 << bitsFromByte) - 1; // mask in readBits()50 mBitCursor += bitsFromByte; in readBits()52 uint32_t bitsRemaining = numBits - bitsFromByte; in readBits()