zlib: Compression and decompression in the gzip and zlib formats

[ bsd3, codec, library ] [ Propose Tags ]

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.

Versions [faq] 0.2, 0.3, 0.4, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.5.0.0, 0.5.2.0, 0.5.3.1, 0.5.3.2, 0.5.3.3, 0.5.4.0, 0.5.4.1, 0.5.4.2, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.1.0, 0.6.1.1, 0.6.1.2, 0.6.2, 0.6.2.1
Change log changelog
Dependencies base (>=4 && <4.14), bytestring (>=0.9 && <0.11), ghc-prim [details]
License BSD-3-Clause
Copyright (c) 2006-2016 Duncan Coutts
Author Duncan Coutts <duncan@community.haskell.org>
Maintainer Duncan Coutts <duncan@community.haskell.org>
Category Codec
Bug tracker https://github.com/haskell/zlib/issues
Source repo head: git clone https://github.com/haskell/zlib.git
Uploaded by HerbertValerioRiedel at Mon Aug 26 10:08:09 UTC 2019
Distributions Arch:0.6.2.1, Debian:0.6.2, Fedora:0.6.2, FreeBSD:0.5.4.2, LTSHaskell:0.6.2, NixOS:0.6.2.1, Stackage:0.6.2, openSUSE:0.6.2.1
Downloads 278333 total (1674 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-08-26 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
non-blocking-ffi

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.

DisabledManual
pkg-config

Use pkg-config(1) to locate foreign zlib library.

DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees