0

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 ?

Mark Adler
  • 101,978
  • 13
  • 118
  • 158
raj_gt1
  • 4,653
  • 2
  • 20
  • 28

1 Answers1

1

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

Mark Adler
  • 101,978
  • 13
  • 118
  • 158