zlib |
The functions in this module allow compression and decompression using the zlib library, which is based on GNU zip.
adler32(string) -- Compute an Adler-32 checksum.
adler32(string, start) -- Compute an Adler-32 checksum using a given starting value.
compress(string) -- Compress a string.
compress(string, level) -- Compress a string with the given level of compression (1--9).
compressobj([level]) -- Return a compressor object.
crc32(string) -- Compute a CRC-32 checksum.
crc32(string, start) -- Compute a CRC-32 checksum using a given starting value.
decompress(string,[wbites],[bufsize]) -- Decompresses a compressed string.
decompressobj([wbits]) -- Return a decompressor object (wbits=window buffer size).
Compressor objects support compress() and flush() methods; decompressor
objects support decompress() and flush().
Classes | |||||||||||
|
Functions | ||
|