package decompress

  1. Overview
  2. Docs
Pure OCaml implementation of Zlib

Install

Dune Dependency

Authors

Maintainers

Sources

decompress-0.8.tbz
sha256=ea6987f72816044ccf3edb586e3b64668d53c5ef1b0a735119e5c9d740504240
md5=547eaf0803af3ed01ff7801facfe27e6

doc/decompress.rfc1951/Rfc1951/Window/index.html

Module Rfc1951.WindowSource

Window used by the Inflate algorithm.

A functionnal implementation of window to use with the inflate algorithm. After one process, you can reset and reuse the window for a new process. This API is available to limit the allocation by Decompress.

Sourcetype 'o t

The Window specialized by 'o (see B.st and B.bs).

Sourceval create : proof:'o B.t -> 'o t

create ~proof creates a new window.

Sourceval reset : 'o t -> 'o t

reset window resets a window to be reused by an Inflate algorithm.

Sourceval crc : 'o t -> Checkseum.Adler32.t

crc window returns the checksum computed by the window.

OCaml

Innovation. Community. Security.