OCaml logo BZip2 logo

CamlBZ2 - OCaml bindings for bzip2

CamlBZ2 provides OCaml bindings for libbz2 (AKA bzip2), a popular compression library which typically compresses better (i.e., smaller resulting files) than gzip.

Using CamlBZ2 you can read and write compressed "files", where files can be anything offering an in_channel/out_channel abstraction (files, sockets, ...).

Also, with CamlBZ2 you can compress and decompress strings in memory using the bzip2 compression algorithm.

Latest News

CamlBZ2 API reference available on the web

Stefano Zacchiroli - 2009-02-17 18:52 -

Release of CamlBZ2 0.6.0

Stefano Zacchiroli - 2008-11-08 21:53 -

Preview release of CamlBZ2 0.6.0 - testing sought

Stefano Zacchiroli - 2008-11-03 22:15 -



CamlBZ2 is hosted on the OCaml forge:

Source code is available via Git:

For bugs, feature requests, patches, ... see the tracker and its box on this page.


CamlBZ2 can be downloaded from the forge, as usual.
The code is free software, licensed under the terms of the GNU LGPL (version 2.1, or above), with the usual OCaml linking exception.


CamlBZ2 is brought to you by:

Project Summary
Tracker Tracker

 - Bugs(2 open / 2 total)

 - Support(0 open / 0 total)

 - Patches(0 open / 0 total)

 - Feature Requests(0 open / 0 total)

Docs Doc Manager
SCM SCM Tree ( commits, adds )
FTP Released Files



Powered By GForge Collaborative Development Environment