Did you know ... Search Documentation:
zlib.pl -- Zlib wrapper for SWI-Prolog
PublicShow source

Read/write compressed data based on the zlib library.

author
- Jan Wielemaker
See also
- http://www.zlib.net/
- http://www.swi-prolog.org/packages/zlib.html
Source gzopen(+File, +Mode, -Stream) is det
Source gzopen(+File, +Mode, -Stream, +Options) is det
Open a file compatible with the gzip program. Note that if a file is opened in append mode, a second gzip image will be added to the end of the file. The gzip standard defines that a file can hold multiple gzip images and inflating the file results in a concatenated stream of all inflated images.

Options are passed to open/4 and zopen/3. Default format is gzip.

Source http:encoding_filter(+Encoding, +In0, -In) is semidet[multifile]
Act as plugin for library(http/http_open) for processing content with Content-encoding: gzip

Re-exported predicates

The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.

Source gzopen(+File, +Mode, -Stream) is det
Source gzopen(+File, +Mode, -Stream, +Options) is det
Open a file compatible with the gzip program. Note that if a file is opened in append mode, a second gzip image will be added to the end of the file. The gzip standard defines that a file can hold multiple gzip images and inflating the file results in a concatenated stream of all inflated images.

Options are passed to open/4 and zopen/3. Default format is gzip.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

Source zopen(Arg1, Arg2, Arg3)