package decompress

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

decompress-1.6.1.tbz
sha256=c9898cbc98535d5dd1d4d75492ec27c1105b8f6cce5f79da5d34053fda40c585
sha512=1312f2b47ac7a1842a37d62811d252a467b6eff17bbdff168af9198ef8e344a74aeceddbbf2b43fb2053e114057cc625b416b03b03347087054e3e2e529c9ad1

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