GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNOBOL4ZLIB(3) CSNOBOL4 Manual SNOBOL4ZLIB(3)

zlib - compression/decompression library


-INCLUDE 'zlib.sno'
	ZLIB_COMPRESS(string,[level])

	ZLIB_UNCOMPRESS(string,[wbits],[ibufsize])

	ZLIB_CRC32(string[,starting_value])

	ZLIB_ADLER32(string[,starting_value])

The zlib module implements direct (in memory) access to zlib compression and checksum routines in the manner of the Python zlib module.

For compressed file I/O see snobol4io(1).

ZLIB_COMPRESS optional second argument is compression level, 0-9 or -1; defaults to 6.

ZLIB_UNCOMPRESS optional second argument controls (log2) window buffer size (and container format?). Optional third argument selects initial output buffer size (will be doubled as needed).

ZLIB_CRC32 optional second argument is starting value (for running CRC over multiple blocks of data), defaults to zero.

ZLIB_ADLER32 optional second argument is starting value (for running checksum over multiple blocks of data), defaults to one.

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

Phil Budne
March 31, 2022 CSNOBOL4B 2.3.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.