lzma-enumerator-0.1.3: Enumerator interface for lzma/xz compression.

Safe HaskellSafe-Infered

Codec.Compression.Lzma.Enumerator

Synopsis

Documentation

compressSource

Arguments

:: MonadIO m 
=> Maybe Int

Compression level from [0..9], defaults to 6.

-> Enumeratee ByteString ByteString m b 

Compress a ByteString Enumerator into an xz container stream.

decompressSource

Arguments

:: MonadIO m 
=> Maybe Word64

Memory limit, in bytes.

-> Enumeratee ByteString ByteString m b 

Decompress a ByteString Enumerator from an lzma or xz container stream.