[Lazarus] Decompressing zip stream
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sat Sep 3 08:36:43 CEST 2011
Leonardo M. Ramé schrieb:
> While trying to decompress the streams using TInflater class from zipper unit
> using this code, I get "buffer error" message when calling DeCompress
> method. I must add that the error only happens with a group of streams,
> specially with the small ones:
>
> var
> lUnzip: TInflater;
> lInStream: TMemoryStream;
> lOutStream: TMemoryStream;
I'd use TFileStream here, at least for the output stream. This should
reduce buffer size problems.
DoDi
More information about the Lazarus
mailing list