Can a stream contain some fix huffman compressed block and some dynamic huffman compressed blocks

73 Views Asked by At

Is it possible to compress a stream with some blocks compressed with static Huffman encoding, and some blocks compressed with dynamic Huffman encoding? If yes, is it decompressible ?

1

There are 1 best solutions below

0
Mark Adler On BEST ANSWER

Yes, and yes. A stream can contain a mix of all three block types, with the third type being stored.