Safe Haskell | None |
---|---|
Language | Haskell98 |
- compress :: MonadSafe m => CompressParams -> Producer ByteString m () -> Producer ByteString m ()
- decompress :: MonadSafe m => DecompressParams -> Producer ByteString m () -> Producer ByteString m ()
- bzip2 :: MonadSafe m => Producer ByteString m () -> Producer ByteString m ()
- bunzip2 :: MonadSafe m => Producer ByteString m () -> Producer ByteString m ()
- data CompressParams = CompressParams {
- cpBlockSize :: Int
- cpVerbosity :: Int
- cpWorkFactor :: Int
- data DecompressParams = DecompressParams {
- dpVerbosity :: Int
- dpSmall :: Bool
- def :: Default a => a
Documentation
:: MonadSafe m | |
=> CompressParams | Compress parameter |
-> Producer ByteString m () | |
-> Producer ByteString m () |
decompress :: MonadSafe m => DecompressParams -> Producer ByteString m () -> Producer ByteString m () Source
Decompress a stream of ByteStrings.
bzip2 :: MonadSafe m => Producer ByteString m () -> Producer ByteString m () Source
bunzip2 :: MonadSafe m => Producer ByteString m () -> Producer ByteString m () Source
data CompressParams Source
Compression parameters
CompressParams | |
|
data DecompressParams Source
Decompression parameters
DecompressParams | |
|