1SNOBOL4ZLIB(3)                  CSNOBOL4 Manual                 SNOBOL4ZLIB(3)
2
3
4

NAME

6       zlib - compression/decompression library
7

SYNOPSYS

9           -INCLUDE 'zlib.sno'
10                ZLIB_COMPRESS(string,[level])
11                ZLIB_UNCOMPRESS(string,[wbits],[ibufsize])
12                ZLIB_CRC32(string[,starting_value])
13                ZLIB_ADLER32(string[,starting_value])
14

DESCRIPTION

16       The zlib module implements direct (in memory) access to zlib
17       compression and checksum routines in the manner of the Python zlib
18       module.
19
20       For compressed file I/O see snobol4io(1).
21
22       ZLIB_COMPRESS optional second argument is compression level, 0-9 or -1;
23       defaults to 6.
24
25       ZLIB_UNCOMPRESS optional second argument controls (log2) window buffer
26       size (and container format?).  Optional third argument selects initial
27       output buffer size (will be doubled as needed).
28
29       ZLIB_CRC32 optional second argument is starting value (for running CRC
30       over multiple blocks of data), defaults to zero.
31
32       ZLIB_ADLER32 optional second argument is starting value (for running
33       checksum over multiple blocks of data), defaults to one.
34

SEE ALSO

36       snobol4(1), snobol4io(1), gzip(1), zlib(3), http://zlib.net/
37

AUTHOR

39       Phil Budne
40
41
42
43CSNOBOL4B 2.3.1                 March 31, 2022                  SNOBOL4ZLIB(3)
Impressum