module Unzip:Decompression algorithm.sig
..end
Unzip decompression algorithm is compliant with RFC 1950 and 1951 which
are describing the "inflate" algorithm used in most popular file formats.
This format is also the one used by the popular ZLib library.
type
error_msg =
| |
Invalid_huffman |
| |
Invalid_data |
| |
Invalid_crc |
| |
Truncated_data |
| |
Unsupported_dictionary |
exception Error of error_msg
val inflate : ?header:bool -> IO.input -> IO.input
Error
if
an error occurs (this can only be caused by malformed input data).type
t
val inflate_init : ?header:bool -> IO.input -> t
val inflate_data : t -> string -> int -> int -> int