Sign in Join

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

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

Free-Pascal-port-of-LZ5-LIZARD-compressor-decompressor-

Free Pascal port of LZ5/LIZARD compressor/decompressor

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Free Pascal port of LZ5/LIZARD compressor decompressor (.lz5 / .liz)

License: BSD-2

Usage

Add LizSimple.pas to your uses.

pascal
function LZ5CompressStreams(Infile, Outfile: TStream): Integer;
function LZ5DecompressStreams(Infile, Outfile: TStream): Integer;

function LZ5CompressFile(const Infilename, Outfilename: String): Integer;
function LZ5DecompressFile(const Infilename, Outfilename: String): Integer;

function LZ5(const Uncompressed: AnsiString): AnsiString;
function UnLZ5(const Compressed: AnsiString): AnsiString;

function LIZCompressStreams(Infile, Outfile: TStream): Integer;
function LIZDecompressStreams(Infile, Outfile: TStream): Integer;

function LIZCompressFile(const Infilename, Outfilename: String): Integer;
function LIZDecompressFile(const Infilename, Outfilename: String): Integer;

function LIZ(const Uncompressed: AnsiString): AnsiString;
function UnLIZ(const Compressed: AnsiString): AnsiString;