| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Compression.BZip
Description
High-level functions throw BZError on error.
Since: 0.1.1.0
Synopsis
- compress :: ByteString -> ByteString
- compressWith :: CInt -> CInt -> ByteString -> ByteString
- decompress :: ByteString -> ByteString
- module Codec.Compression.BZip.Foreign
High-level functions.
compress :: ByteString -> ByteString Source #
Since: 0.1.1.0
Arguments
| :: CInt | Block size ( |
| -> CInt | Work factor ( |
| -> ByteString | |
| -> ByteString |
See bzlib manual for information on compression parameters.
Since: 0.1.1.0
decompress :: ByteString -> ByteString Source #
Don't use this on pathological input; it may not be secure
Since: 0.1.1.0