package decompress

  1. Overview
  2. Docs
Implementation of Zlib and GZip in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

decompress-1.6.0.tbz
sha256=aa2e842dc009bcddcbb5c0791f5dbeee2bda5a104ecc7681aa37ac42537e3121
sha512=58e2529fa93f4f671ffd0a69c3542e835868f8c72db9c62b48d207c31f3585101d4d314f7e5922b273c86609b00c87343987b03b568d3e69749d2c7f7fa4089b

doc/decompress.lz/Lz/index.html

Module LzSource

Sourcetype optint = Optint.t
Sourcetype src = [
  1. | `Channel of in_channel
  2. | `String of string
  3. | `Manual
]
Sourcetype decode = [
  1. | `Flush
  2. | `Await
  3. | `End
]
Sourcetype state
Sourcetype literals = De.literals
Sourcetype distances = De.distances
Sourcetype window
Sourceval literals : state -> literals
Sourceval distances : state -> distances
Sourceval checksum : state -> optint
Sourceval src : state -> bigstring -> int -> int -> unit
Sourceval src_rem : state -> int
Sourceval make_window : bits:int -> window
Sourceval compress : state -> decode
Sourceval state : ?level:int -> q:De.Queue.t -> w:window -> src -> state