3.1.8.1.4.4.2.1 Examples of Length-of-Match Decoding
Decoding a Huffman code of 0x0001 followed by 0 bits.
HuffmanCode = 0x0001 LUTIndex = 0 BaseLUT = 2 BitsLUT = 0 StreamBits = ReadBitsFromCompressedStream(0) = 0x00 LoM = 2 + 0 = 2
Decoding a Huffman code of 0x01df followed by 4 bits of value 3.
HuffmanCode = 0x01df LUTIndex = 23 BaseLUT = 114 BitsLUT = 4 StreamBits = ReadBitsFromCompressedStream(4) = 0x03 LoM = 114 + 3 = 117