lzip-0.0.0.0: Lzip compression / Lzlib bindings
Safe HaskellUnsafe
LanguageHaskell2010

Codec.Compression.Lzlib.FFI

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.

data LzErrno Source #

lzlib error codes

See lzlib manual for more details.

Instances

Instances details
Eq LzErrno Source # 
Instance details

Defined in Codec.Compression.Lzlib.FFI

Methods

(==) :: LzErrno -> LzErrno -> Bool #

(/=) :: LzErrno -> LzErrno -> Bool #

Show LzErrno Source # 
Instance details

Defined in Codec.Compression.Lzlib.FFI

Exception LzErrno Source # 
Instance details

Defined in Codec.Compression.Lzlib.FFI

toLzErrno :: C'LZ_Errno -> LzErrno Source #

Convert FFI enum LZ_Errno into the Haskell enum type LzErrno.

Internal