lzma-conduit-1.1.3.2: Conduit interface for lzma/xz compression.

Safe HaskellNone
LanguageHaskell2010

Data.Conduit.Lzma

Synopsis

Documentation

compress Source #

Arguments

:: MonadResource m 
=> Maybe Int

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

-> Conduit ByteString m ByteString 

Compress a ByteString into a xz container stream.

decompress Source #

Arguments

:: MonadResource m 
=> Maybe Word64

Memory limit, in bytes.

-> Conduit ByteString m ByteString 

Decompress a ByteString from a lzma or xz container stream.