I havesome compressed data files,and I want to decompress them.Both compressed file and decompressed file are in this form: headerblock+datablock.My code(in the attached file) was compiled succsessfully.when I run my program,some compressed file was decompressed and I got some decompressed file, but after decompressing several files(sometimes no more than 20 files,sometimes no more than 10 files) I got this message: 'stream read error'.
My data file is too big to be attached(compressed file is in a size of about 1M bytes and decompressed file is in a size of about 4M bytes).so I hope if some one kindly can help me test the code,tell me the email address,I will send him my data file.