3 gzip Decompression
(require file/gunzip) | package: base |
procedure
file : path-string?
output-name-filter : (string? boolean? . -> . path-string?) = (lambda (file archive-supplied?) file)
The output-name-filter procedure is applied to two
arguments—
If the compressed data turns out to be corrupted, the exn:fail exception is raised.
procedure
(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.
procedure
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.