Module Rfc1951

module Buffer : sig ... end
module Hunk : sig ... end

Hunk definition.

module Lz77 : sig ... end

Lz77 algorithm.

module type DEFLATE = sig ... end

Deflate algorithm.

type error_deflate =
| 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 =
| Invalid_kind_of_block
| Invalid_complement_of_length
| Invalid_dictionary
| Invalid_distance_code
| Invalid_distance of {
distance : int;
max : int;
}
module Inflate : INFLATE with type error = error_inflate and type crc = Window.none