On 2016-09-04 17:08, Marcos Douglas wrote: > I have streams compressed using GZip. I get these streams from WebServices. > So, how can I decompress these streams only in memory?
See the tiCompressZLib.pas unit included with tiOPF. It supports Stream, Buffer, String and File compress/decompress functionality using ZLib. I believe GZip and ZLib use the same algorithms. https://sourceforge.net/p/tiopf/code/ci/tiopf2/tree/Options/tiCompressZLib.pas Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal