const maxHuffmanBits … // readHuff reads Huffman table from data starting at off into table. // Each entry in a Huffman table is a pair of bytes. // The high byte is the encoded value. The low byte is the number // of bits used to encode that value. We index into the table // with a value of size tableBits. A value that requires fewer bits // appear in the table multiple times. // This returns the number of bits in the Huffman table and the new offset. // RFC 4.2.1. func (r *Reader) readHuff(data block, off int, table []uint16) (tableBits, roff int, err error) { … }