package decompress

  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 OS : sig ... end
module type DEFLATE = sig ... end

Deflate algorithm.

type error_rfc1951_deflate =
  1. | Lz77 of Lz77.error
module RFC1951_deflate : sig ... end
type error_z_deflate =
  1. | RFC1951 of RFC1951_deflate.error
type error_g_deflate =
  1. | RFC1951 of RFC1951_deflate.error
module Gzip_deflate : sig ... end
module Window : sig ... end

Window used by the Inflate algorithm.

module type INFLATE = sig ... end

Inflate algorithm.

type error_rfc1951_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 RFC1951_inflate : sig ... end
type error_z_inflate =
  1. | RFC1951 of RFC1951_inflate.error
  2. | Invalid_header
  3. | Invalid_checksum of {
    1. have : Checkseum.Adler32.t;
    2. expect : Checkseum.Adler32.t;
    }
module Zlib_inflate : sig ... end
type error_g_inflate =
  1. | RFC1951 of RFC1951_inflate.error
  2. | Invalid_header
  3. | Invalid_header_checksum of {
    1. have : Checkseum.Adler32.t;
    2. expect : Checkseum.Adler32.t;
    }
  4. | Invalid_checksum of {
    1. have : Checkseum.Adler32.t;
    2. expect : Checkseum.Adler32.t;
    }
  5. | Invalid_size of {
    1. have : Optint.t;
    2. expect : Optint.t;
    }
module Gzip_inflate : sig ... end