Archived

This topic is now archived and is closed to further replies.

Luctus

Knowledge of zlib format needed

Recommended Posts

Luctus    584
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

Share this post


Link to post
Share on other sites
krumms    126
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

Share this post


Link to post
Share on other sites