lzlib-1.0.4.0: lzlib bindings

Safe HaskellNone
LanguageHaskell2010

Codec.Lzip

Contents

Synopsis

Compression

compressSz Source #

Arguments

:: ByteString 
-> Int

Size of input data, in bytes

-> ByteString 

Alias for compressWithSz Six

Since: 1.0.2.0

compressSzBest Source #

Arguments

:: ByteString 
-> Int

Size of input data, in bytes

-> ByteString 

Alias for compressWithSz Nine

Since: 1.0.2.0

compressSzFast Source #

Arguments

:: ByteString 
-> Int

Size of input data, in bytes

-> ByteString 

Alias for compressWithSz Zero

Since: 1.0.2.0

compressWithSz Source #

Arguments

:: CompressionLevel 
-> ByteString 
-> Int

Size of data being compressed, in bytes.

-> ByteString 

Since: 1.0.0.0

Decompression

decompress :: ByteString -> ByteString Source #

This does not do any error recovery; for that you should use lziprecover.

Doesn't work on empty ByteStrings

Miscellany

lZApiVersion :: Integral a => a Source #

Since: 0.3.1.0