[Lazarus] RE : RE : Decompressing zip stream

Leonardo M. Ramé l.rame at griensu.com
Sat Sep 3 20:14:44 CEST 2011

On 2011-09-03 19:21:26 +0200, Ludo Brands wrote:
> > 
> > Thanks Ludo for your answer.
> > 
> > The file size is 68127 bytes, I tried with buffer size of 
> > 2048 bytes and 100000 bytes. 
> > In both cases I got the 'buffer error' message.
> > 
> > 
> Seems something is wrong with the data. Tried to decode with
> TZDecompressionStream in ZLibEx for Delphi and I'm getting a data error. 
> I also traced into paszlib/src/zinflate.pas and the 'buffer error' is
> returned quite early with apparently plenty of output buffer available. That
> also points into the direction of corrupted data. 
> Can you attach a (small) file that decompresses succesfully? Just to
> validate my test with TZDecompressionStream.
> What Abbrevia unit was used to compress the files?
> Ludo

Ludo, I attached a .tar.gz file containing one file that can be decompressed successfully, and
its output as .wav.

To compress AbZipPrc unit was used, and AbUnzPrc to decompress.
Leonardo M. Ramé
-------------- next part --------------
A non-text attachment was scrubbed...
Name: files.tar.gz
Type: application/x-tar-gz
Size: 45345 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110903/40bfeff2/attachment-0003.bin>

More information about the Lazarus mailing list