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