pipes-lzma-0.1.1.1: LZMA compressors and decompressors for the Pipes package

Safe HaskellNone
LanguageHaskell2010

Pipes.Lzma

Contents

Synopsis

Simple interface

compress :: forall m r. MonadIO m => Producer ByteString m r -> Producer ByteString m r Source #

Compress a ByteString.

decompress :: forall m r. MonadIO m => Producer ByteString m r -> Producer ByteString m (Producer ByteString m r) Source #

Decompress a ByteString.

Compression

compressWith :: forall m r. MonadIO m => CompressParams -> Producer ByteString m r -> Producer ByteString m r Source #

Compress a ByteString with a given set of CompressParams.

Parameters

data CompressionLevel :: * #

Decompression

decompressWith :: forall m r. MonadIO m => DecompressParams -> Producer ByteString m r -> Producer ByteString m (Producer ByteString m r) Source #

Decompress a ByteString with a given set of DecompressParams.

Parameters