package rfc1951

  1. Overview
  2. Docs
module Buffer : sig ... end

Decompress, functionnal implementation of Zlib in OCaml.

module Hunk : sig ... end

Hunk definition.

module Lz77 : sig ... end

Lz77 algorithm.

module type DEFLATE = sig ... end

Deflate algorithm.

type error_deflate =
  1. | Lz77 of Lz77.error
module Deflate : DEFLATE with type error = error_deflate
module Window : sig ... end

Window used by the Inflate algorithm.

module type INFLATE = sig ... end

Inflate algorithm.

type error_inflate =
  1. | Invalid_kind_of_block
  2. | Invalid_complement_of_length
  3. | Invalid_dictionary
  4. | Invalid_distance_code
  5. | Invalid_distance of {
    1. distance : int;
    2. max : int;
    }
module Inflate : INFLATE with type error = error_inflate and type crc = Window.none