[fpc-pascal] GZip - Stream decompress only in memory
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Tue Sep 6 02:07:09 CEST 2016
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
More information about the fpc-pascal
mailing list