[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.2.3 Zip
- bigloo procedure: port->gzip-port input-port [buffer #t]
- bigloo procedure: port->zlib-port input-port [buffer #t]
- bigloo procedure: port->inflate-port input-port [buffer #t]
These functions take a regular port as input (input-port). They construct a new port that automatically unzip the read characters. The
inflate
version does not parse a gunzip-header before inflating the content.
- bigloo procedure: open-input-inflate-file path [buffer #t]
These function open a gzipped file for input. The file is automatically unzipped when the characters are read. It is equivalent to:
(let ((p (open-input-port path))) (port->gzip-port p))
The function
open-input-inflate-file
is similar toopen-input-gzip-file
but it does not parse a gunzip-header before inflating the content.
- bigloo procedure: gunzip-sendchars input-port output-port
- bigloo procedure: inflate-sendchars input-port output-port
Transmit all the characters from the gzipped input-port to the output-port.
Note that the function
send-chars
can also be used on gzipped input-ports.
- bigloo procedure: gunzip-parse-header input-port
Parse the header of input-port. Returns
#f
if and only if the port is not gzipped.
This document was generated on March 31, 2014 using texi2html 5.0.