Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Free-Pascal-port-of-ZXC-compressor-decompressor

Free Pascal port of ZXC compressor/decompressor

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Free Pascal port of ZXC v0.10.0 compressor/decompressor

https://github.com/hellobertrand/zxc

Usage

Add ZxcSimple to your uses

pascal
function ZxcCompressStreams(InStr, OutStr: TStream): Integer;
function ZxcDecompressStreams(InStr, OutStr: TStream): Integer;

function ZxcCompressFile(const Infilename, Outfilename: String): Integer;
function ZxcDecompressFile(const Infilename, Outfilename: String): Integer;

function Zxc(Uncompressed: AnsiString): AnsiString;
function UnZxc(Compressed: AnsiString): AnsiString;