Searched refs:curBit (Results 1 – 2 of 2) sorted by relevance
37 private int curBit; field in BitstreamWriter49 for (int i = curBit; i < 8; i++) { in flush()52 curBit = 0; in flush()70 if (curBit == 8) { in write1Bit()71 curBit = 0; in write1Bit()74 curByte[curBit++] = value; in write1Bit()96 writeNBit(0, 8 - curBit); in writeRemainingZero()
226 for curBit in reversed(byteString):228 if curBit == '1':526 for curBit in range(*stepRange):527 endBit = min(curBit+8, bitRange[1])528 numBits = endBit - curBit529 cutPoint = curBit % 8530 firstByteLoc = curBit // 8535 numBitsCut = endBit - curBit565 for curBit, curByte in zip(range(*stepRange), data):566 endBit = min(curBit+8, bitRange[1])[all …]