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