NAME

Gzip::Libdeflate - Perl interface to libdeflate

SYNOPSIS

use Gzip::Libdeflate;

VERSION

This documents version 0.00_01 of Gzip-Libdeflate corresponding to git commit d8130b8a43a7ea151d4efa5e1c7ad142f91fbfb2 released on Fri Feb 12 23:46:18 2021 +0900.

DESCRIPTION

Interface to libdeflate.

METHODS

Creators

compressor

my $co = Gzip::Libdeflate->compressor ();

Accepts an optional number argument of compression level (1-12). The default is 6.

decompressor

my $de = Gzip::Libdeflate->decompressor ();

Compressors

deflate_compress

my $dthing = $gl->gzip_compress ($thing);

gzip_compress

my $gzthing = $gl->gzip_compress ($thing);

zlib_compress

my $zthing = $gl->zlib_compress ($thing);

Decompressors

deflate_decompress

Not implemented in this release.

gzip_decompress

my $thing = $gl->zlib_decompress ($gzthing);

zlib_compress

Not implemented in this release.

SEE ALSO

Alien::Libdeflate

AUTHOR

Ben Bullock, <bkb@cpan.org>

COPYRIGHT & LICENCE

This package and associated files are copyright (C) 2021 Ben Bullock.

You can use, copy, modify and redistribute this package and associated files under the Perl Artistic Licence or the GNU General Public Licence.