Data-Compression.org

data compression link collection

More PKWare DCL Decompression Code

C++ code posted to comp.compression that describes extraction from PKWare’s Data Compression Library.

Update: The author posted this correction to comp.compression:
There’s a bug in the code posted 2001-10-07 19:36:38 PST. To fix:
In the


void tcDecoder::Decode(char *apBuffer, unsigned int *apSize, unsigned int anBufferSize)


function after both


if (lnIndex == mnCurrentPos) lnIndex = lnStartIndex;


add


if (lnIndex == mnDictionarySize) lnIndex = 0;

http://groups.google.com/groups?hl=en&threadm=93e3bf38.0110071836.3bfc02d3%40posting.googl
e.com&rnum=1

         

Posted in April 22nd, 2002

No User Commented In " More PKWare DCL Decompression Code "

Subscribes to this post Comment RSS or TrackBack URL

Leave Your Reply Below

 Username

 Email Address

 Website

Sticky note: Please double check your comments before submit Please Note: The comment moderation maybe active so there is no need to resubmit your comment