Searched refs:numBitsLeft (Results 1 – 1 of 1) sorted by relevance
64 int32_t numBitsLeft = numBits; in AppendBits() local65 while (numBitsLeft > 0) { in AppendBits()66 if ((m_sizeInBits & 0x7) == 0 && numBitsLeft >= 8) { in AppendBits()67 AppendByte(static_cast<int8_t>((value >> (numBitsLeft - 8)) & 0xff)); in AppendBits()68 numBitsLeft -= 8; in AppendBits()70 AppendBit((value >> (numBitsLeft - 1)) & 1); in AppendBits()71 --numBitsLeft; in AppendBits()