@hackage zlib0.7.0.0
Compression and decompression in the gzip and zlib formats
Categories
License
BSD-3-Clause
Maintainer
Duncan Coutts <duncan@community.haskell.org>, Andrew Lelechenko <andrew.lelechenko@gmail.com>, Emily Pillmore <emilypi@cohomolo.gy>, Herbert Valerio Riedel <hvr@gnu.org>
Links
Versions
Installation
Tested Compilers
Dependencies (2)
- base >=4.8 && <4.21
- bytestring >=0.9 && <0.13 Show all…
Dependents (281)
@hackage/haskell-platform-test, @hackage/dataframe, @hackage/haskseg, @hackage/hurl, @hackage/srtree, @hackage/dictionaries, Show all…
Package Flags
non-blocking-ffi
(on by default)
The (de)compression calls can sometimes take a long time, which prevents other Haskell threads running. Enabling this flag avoids this unfairness, but with greater overall cost.
pkg-config
(on by default)
Use pkg-config(1) to locate foreign zlib library.
bundled-c-zlib
(off by default)
Use the bundled zlib C sources. For GHCJS and WASM this is the default.
zlib

Compression and decompression in the gzip and zlib format
This package provides a pure interface for compressing and decompressing streams of data represented as lazy ByteStrings.
It uses the zlib C library so it has high performance. It supports the zlib, gzip and raw compression formats.
It provides a convenient high level API suitable for most tasks and for the few cases where more control is needed it provides access to the full zlib feature set.