[Lazarus] RE : RE : Decompressing zip stream

Ludo Brands ludo.brands at free.fr
Sat Sep 3 19:21:26 CEST 2011


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





More information about the Lazarus mailing list