

def decode_bit(self):
    if (len(self.incoming_bits) == 0):
        bits = self.decode_octet()
        for i in range(8):
            self.incoming_bits.append((((bits >> i) & 1) != 0))
    return self.incoming_bits.pop(0)

dataset/ETHPy150Open tweetdeck/txAMQP/src/txamqp/codec.py Codec.decode_bit/original