Safe Haskell | Safe-Infered |
---|
- compress :: MonadIO m => Maybe Int -> Enumeratee ByteString ByteString m b
- decompress :: MonadIO m => Maybe Word64 -> Enumeratee ByteString ByteString m b
Documentation
:: 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.
:: MonadIO m | |
=> Maybe Word64 | Memory limit, in bytes. |
-> Enumeratee ByteString ByteString m b |
Decompress a ByteString
Enumerator
from an lzma or xz container stream.