Ben.Compressionval of_string : string -> tval default : tval extension : t -> stringval display_tool : t -> stringwith_decompressed_file filename f calls f on the decompressed contents of filename. The compression format comes from the file extension.
val decompress_to : t -> string -> Unix.file_descr -> unitdecompress_to format filename fd decompresses filename as format and writes the result to fd, with the decompression tool writing directly to fd. Raises Decompression_failed if the tool fails.