2 gzip Decompression
(gunzip file [output-name-filter]) → void? | ||||||||||||
file : path-string? | ||||||||||||
|
The output-name-filter procedure is applied to two arguments – the default destination file name and a boolean that is #t if this name was read from file – before the destination file is created. The return value of the file is used as the actual destination file name (to be opened with the 'truncate flag of open-output-file).
If the compressed data turns out to be corrupted, the exn:fail exception is raised.
(gunzip-through-ports in out) → void? |
in : input-port? |
out : output-port? |
If the compressed data turns out to be corrupted, the exn:fail exception is raised. The unzipping process may peek further into in than needed to decompress the data, but it will not consume the unneeded bytes.
(inflate in out) → void? |
in : input-port? |
out : output-port? |
If the compressed data turns out to be corrupted, the exn:fail exception is raised. The inflate process may peek further into in than needed to decompress the data, but it will not consume the unneeded bytes.