[fpc-pascal] GZip - Stream decompress only in memory
Marcos Douglas
md at delfire.net
Sun Sep 4 18:08:17 CEST 2016
Hi,
I have streams compressed using GZip. I get these streams from WebServices.
So, how can I decompress these streams only in memory?
I've tried to use zstream unit, that contains TGZFileStream class.
Unfortunately this class works only using files. Then I saved the
stream in a file (data.txt) and tryed to use TGZFileStream, but I got
an error.
I tried to use Abbrevia to:
http://forum.lazarus.freepascal.org/index.php/topic,26240.msg160989.html?PHPSESSID=j1bh8dkl8p8qj2uqk0bcqqtcb4#msg160989
...but nothing happend. No errors, but the result is empty.
So, I have a stream and I need to decompress this stream and send to
another process, just in memory.
Could you help me?
Best regards,
Marcos Douglas
More information about the fpc-pascal
mailing list