Safe Haskell | None |
---|---|
Language | Haskell2010 |
- compress :: MonadResource m => Maybe Int -> Conduit ByteString m ByteString
- decompress :: MonadResource m => Maybe Word64 -> Conduit ByteString m ByteString
Documentation
:: MonadResource m | |
=> Maybe Int | Compression level from [0..9], defaults to 6. |
-> Conduit ByteString m ByteString |
Compress a ByteString
into a xz container stream.
:: MonadResource m | |
=> Maybe Word64 | Memory limit, in bytes. |
-> Conduit ByteString m ByteString |
Decompress a ByteString
from a lzma or xz container stream.