ezgzipversion
# ezgzip - Simple gzip (de)compression library
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.
Author | Hezekiah M. Carty <hez@0ok.org> |
---|---|
License | MIT |
Published | |
Homepage | https://github.com/hcarty/ezgzip |
Issue Tracker | https://github.com/hcarty/ezgzip/issues |
Maintainer | Hezekiah M. Carty <hez@0ok.org> |
Dependencies | |
Source [http] | https://github.com/hcarty/ezgzip/archive/v0.2.1.tar.gz sha256=102046af4c64956656e9eb683e4066a5d05ccfefd7f12aaa02243bfeacc405f5 md5=6a0f8aa64541a32691f9884f0ef8737f |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ezgzip/ezgzip.0.2.1/opam |