zlib

Compression and decompression in the gzip and zlib formats

Version on this page:0.5.4.2
LTS Haskell 17.11:0.6.2.3
Stackage Nightly 2021-05-15:0.6.2.3
Latest on Hackage:0.6.2.3

See all snapshots zlib appears in

BSD-3-Clause licensed and maintained by Duncan Coutts
This version can be pinned in stack with:zlib-0.5.4.2@sha256:10245fd769ac4d39c18b2c43e2909e181b229ee9363f12e7a807243cb4780a9f,2326

Module documentation for 0.5.4.2

  • Codec
    • Codec.Compression
      • Codec.Compression.GZip
      • Codec.Compression.Zlib
        • Codec.Compression.Zlib.Internal
        • Codec.Compression.Zlib.Raw

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.