Knowledge of zlib format needed

Started by
0 comments, last by Luctus 21 years, 6 months ago
I''m currently writing a zlib decoder and so far it''s going smoothly. There is one thing that bothers me though, in the header of the zlib stream, there is a byte that tells the "LZ77 window size", but I haven''t seen any other references to the value in the specifications (RFC1950 & RFC1951). What is it for? -Luctus
-LuctusIn the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move - Douglas Adams
Advertisement
Ummm I''m not really qualified to answer this, but I think it has something to do with building the dictionary for decompression. i.e. the size of the window that can be scanned for matching bits/bytes/strings.

I know that''s really fuzzy, but yeah - perhaps it''ll give you an idea ...???

Tom
refrain_from_stupidity( &me );

This topic is closed to new replies.

Advertisement