[Lazarus] FPC, gzip and stream

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Feb 6 09:57:54 CET 2012


On 4 February 2012 04:02, silvioprog  wrote:
>
> How to use gzip in stream with FPC?

See tiOPF v2, and units dzlib.pas and tiCompressZLib.pas in the
Options directory.
I use it in production code, and the tiOPF code is very well unit tested too.

tiOPF is hosted on SourceForge at:

  http://sourceforge.net/projects/tiopf/

A direct link to the Options directory.

  http://tiopf.svn.sourceforge.net/viewvc/tiopf/tiOPF2/Trunk/Options/


You can use the dzlib.pas unit directly, but the tiComplessZLib unit
gives a much easier interface to zlib compression and decompression.

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net




More information about the Lazarus mailing list