lzip-0.0.0.0: Lzip compression / Lzlib bindings

Safe HaskellUnsafe
LanguageHaskell2010

Codec.Compression.Lzlib.FFI

Contents

Description

Primitive unsafe low-level FFI bindings to lzlib

Synopsis

Parameter limits

See also chapter "4 Parameter limits" in the lzlib manual.

Compression functions

See also chapter "5 Compression functions" in the lzlib manual.

data LzEncoder Source #

lzlib compressor handle.

Decompression functions

See also chapter "6 Decompression functions" in the lzlib manual.

data LzDecoder Source #

lzlib decompressor handle.

Error codes

See also chapter "7 Error codes" in the lzlib manual.

toLzErrno :: C'LZ_Errno -> LzErrno Source #

Convert FFI enum LZ_Errno into the Haskell enum type LzErrno.

Internal