bz2-0.1.1.0: Bindings to libbz2

Safe HaskellNone
LanguageHaskell2010

Codec.Compression.BZip

Contents

Synopsis

High-level functions

compress :: ByteString -> ByteString Source #

Since: 0.1.1.0

compressWith Source #

Arguments

:: CInt

Block size (1-9)

-> CInt

Work factor (0-250)

-> 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

Low-level bindings