bz2

Bindings to libbz2

Version on this page:1.0.1.0
LTS Haskell 22.14:1.0.1.1
Stackage Nightly 2024-03-28:1.0.1.1
Latest on Hackage:1.0.1.1

See all snapshots bz2 appears in

BSD-3-Clause licensed by Vanessa McHale
Maintained by [email protected]
This version can be pinned in stack with:bz2-1.0.1.0@sha256:529da144f34b442160fb6931540bc9510bd86002975a84b083c39f3bd80212ea,3992

Module documentation for 1.0.1.0

Depends on 2 packages(full list with versions):
Used by 2 packages in nightly-2020-10-22(full list with versions):

bz2

High-level bindings to bzip2.

Comparison

Compared to bzlib:

  • Bundles bzip2 1.0.8.
  • Compatible with GHC 8.8+
  • Uses c2hs rather than hsc2hs and thus has a larger dependency footprint

Unlike pipes-bzip and bzlib-conduit, bz2 can be cross-compiled.

Backpack Integration

bz2 implements bzip-signature, which makes it interchangeable with bzlib.

Changes

bz2

1.0.1.0

  • Add decompressErr

1.0.0.3

  • Fix bug decompressing partial data

1.0.0.2

  • Change buffering parameters for speed
  • Add benchmarks relative to bzlib, bzip-pipes, bzlib-conduit

1.0.0.1

  • Pass -O3 to cc-options

1.0.0.0

  • Remove Codec.Compression.BZip.Foreign
  • Use ForeignPtr under the hood
  • Lazier streaming; memory use should be sensible

0.1.1.2

  • Use ForeignPtrs under the hood in various places (over bracket)

0.1.1.1

  • Haddock improvements

0.1.1.0

  • Change type signature of bZ2BzlibVersion
  • Add Codec.Compression.BZip module

0.1.0.1

  • Fix distribution

0.1.0.0

Initial release