@hackage zlib0.7.1.1
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 (3)
- base >=4.9 && <4.23
- bytestring >=0.9 && <0.13
- zlib-clib <2 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 executable to locate foreign zlib library.
bundled-c-zlib
(off by default)
Use zlib-clib package with C sources instead of a system library.
C sources are used for GHCJS and WASM unconditionally
and on Windows unless pkg-config flag is on.
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.