Is it possible to decode deflate stream the same way as is the case of jpeg paq8 model where huffman codes are used for context.
As a specific model deflate.
Or is it meaningless?
Can someone who is familiar with deflate respond?
Is it possible to decode deflate stream the same way as is the case of jpeg paq8 model where huffman codes are used for context.
As a specific model deflate.
Or is it meaningless?
Can someone who is familiar with deflate respond?
KZo
yes, it's possible - you'll get a sequence of chars and (dist,len) pairs. whether it has meaning to reencode output of lz-32kb model is debatable![]()
Deflate streams are easy to decompress. But, for me, the hardest thing is to detect any deflate stream within a stream. Because, deflate stream only consist 3 bits header which is not bounded by byte boundries (so, every 3 bits should be checked). But, zLib streams are easier to detect. They consist 2 bytes header+adler32 checksum for decompressed data. I'm working on it already for BIT. If I'll make some progress, I'll report it in here.
BIT Archiver homepage: www.osmanturan.com