decoder.py
def read_huffman_symbol(self, ht):
        """read bits from the stream and decode them according to Huffman table,
        return a Huffman-encoded symbol"""
        while True:
            symbol = ht.get_bit(self.read_bit())
            if symbol != None: return symbol
read bits from the stream and decode them according to Huffman table,
        return a Huffman-encoded symbol
read bits from the stream and decode them according to Huffman table,
return a Huffman-encoded symbol
read bits from the stream and decode them according to Huffman table return a Huffman - encoded symbol
def read_huffman_symbol(self, ht):
        while True:
            symbol = ht.get_bit(self.read_bit())
            if symbol != None: return symbol
def read_huffman_symbol ( self , ht ) : while True : symbol = ht . get_bit ( self . read_bit ( ) ) if symbol != None : return symbol
read bits from the stream and decode them according to Huffman table,
return a Huffman-encoded symbol
read bits from the stream and decode them according to Huffman table return a Huffman - encoded symbol
"""read bits from the stream and decode them according to Huffman table,
        return a Huffman-encoded symbol"""
self
ht