package decompress

  1. Overview
  2. Docs

Module DecompressSource

Sourcemodule Buffer : sig ... end

Decompress, functionnal implementation of Zlib in OCaml.

Sourcemodule Hunk : sig ... end

Hunk definition.

Sourcemodule Lz77 : sig ... end

Lz77 algorithm.

Sourcemodule OS : sig ... end
Sourcemodule type DEFLATE = sig ... end

Deflate algorithm.

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

Window used by the Inflate algorithm.

Sourcemodule type INFLATE = sig ... end

Inflate algorithm.

Sourcetype 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;
    }
Sourcemodule RFC1951_inflate : sig ... end
Sourcetype 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;
    }
Sourcemodule Zlib_inflate : sig ... end
Sourcetype 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;
    }
Sourcemodule Gzip_inflate : sig ... end