package ezgzip

  1. Overview
  2. No Docs
# ezgzip - Simple gzip (de)compression library

Install

Authors

Maintainers

Sources

v0.2.1.tar.gz
md5=6a0f8aa64541a32691f9884f0ef8737f

Description

ezgzip is a simple interface focused on string -> string zlib and gzip (de)compression.

Documentation is available here.

An example illustrating how to gzip compress and then decompress a string:

open Rresult

let () =
  let original = "Hello world" in
  let compressed = Ezgzip.compress original in
  let decompressed = R.get_ok (Ezgzip.decompress compressed) in
  assert (original = decompressed)

This library currently uses the zlib bindings provided by camlzip. The gzip header/footer code is based on the upstream specification.

Published: 05 Mar 2018

Dependencies (6)

  1. camlzip
  2. rresult
  3. ocplib-endian
  4. jbuilder >= "1.0+beta13"
  5. astring
  6. ocaml >= "4.03.0"

Dev Dependencies (4)

  1. qcheck with-test & >= "0.7"
  2. odoc with-doc & >= "1.1.1"
  3. benchmark with-test & >= "1.4"
  4. alcotest with-test & >= "0.8.1"

Used by (1)

  1. quests

Conflicts

None