[fpc-pascal] what is the FPC equivalent of Delphi's zlib unit?

Graeme Geldenhuys graeme at geldenhuys.co.uk
Sun Jul 28 22:20:11 CEST 2013


On 2013-07-28 18:30, Dennis Poon wrote:
> I need to use CompressBuf and DecompressBuf of zlib in fpc.

Exactly what Michael said, plus take a look at the dzlib.pas unit
included in the tiOPF project (available on SourceForge) in the
"Options' directory. It's a FPC & Delphi compatible zlib unit.

While you are there, it might be worth looking at the tiCompress and
tiCompressZLib units too. They give a very easy to use API interface to
compresssing buffers, streams, strings and files etc.


Regards,
  - Graeme -




More information about the fpc-pascal mailing list