# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ The functions in this module allow compression and decompression using the zlib library, which is based on GNU zip. adler32(string[, start]) -- Compute an Adler-32 checksum. compress(string[, level]) -- Compress string, with compression level in 0-9. compressobj([level[, ...]]) -- Return a compressor object. crc32(string[, start]) -- Compute a CRC-32 checksum. decompress(string,[wbits],[bufsize]) -- Decompresses a compressed string. decompressobj([wbits[, zdict]]]) -- Return a decompressor object. 'wbits' is window buffer size. Compressor objects support compress() and flush() methods; decompressor objects support decompress() and flush(). """ DEFLATED = 8 DEF_MEM_LEVEL = 8 MAX_WBITS = 15 ZLIB_RUNTIME_VERSION = '1.2.7' ZLIB_VERSION = '1.2.3' Z_BEST_COMPRESSION = 9 Z_BEST_SPEED = 1 Z_DEFAULT_COMPRESSION = -1 Z_DEFAULT_STRATEGY = 0 Z_FILTERED = 1 Z_FINISH = 4 Z_FULL_FLUSH = 3 Z_HUFFMAN_ONLY = 2 Z_NO_FLUSH = 0 Z_SYNC_FLUSH = 2 __doc__ = """The functions in this module allow compression and decompression using the zlib library, which is based on GNU zip. adler32(string[, start]) -- Compute an Adler-32 checksum. compress(string[, level]) -- Compress string, with compression level in 0-9. compressobj([level[, ...]]) -- Return a compressor object. crc32(string[, start]) -- Compute a CRC-32 checksum. decompress(string,[wbits],[bufsize]) -- Decompresses a compressed string. decompressobj([wbits[, zdict]]]) -- Return a decompressor object. 'wbits' is window buffer size. Compressor objects support compress() and flush() methods; decompressor objects support decompress() and flush().""" __file__ = '/home/shared/src/ide/build-files/build-temp/runtimes-release/__os__/linux-x64/runtime-python3.3/lib/python3.3/lib-dynload/zlib.cpython-33m.so' __loader__ = None __name__ = 'zlib' __package__ = '' __version__ = '1.0' def adler32(string, start=None): """ adler32(string[, start]) -- Compute an Adler-32 checksum of string. An optional starting value can be specified. The returned checksum is an integer. """ return "" def compress(string, level=None): """ compress(string[, level]) -- Returned compressed string. Optional arg level is the compression level, in 0-9. """ return "" def compressobj(strategy=Z_DEFAULT_STRATEGY, zdict)=None): """ compressobj(level=-1, method=DEFLATED, wbits=15, memlevel=8, strategy=Z_DEFAULT_STRATEGY[, zdict]) -- Return a compressor object. level is the compression level (an integer in the range 0-9; default is 6). Higher compression levels are slower, but produce smaller results. method is the compression algorithm. If given, this must be DEFLATED. wbits is the base two logarithm of the window size (range: 8..15). memlevel controls the amount of memory used for internal compression state. Valid values range from 1 to 9. Higher values result in higher memory usage, faster compression, and smaller output. strategy is used to tune the compression algorithm. Possible values are Z_DEFAULT_STRATEGY, Z_FILTERED, and Z_HUFFMAN_ONLY. zdict is the predefined compression dictionary - a sequence of bytes containing subsequences that are likely to occur in the input data. """ return {} def crc32(string, start=None): """ crc32(string[, start]) -- Compute a CRC-32 checksum of string. An optional starting value can be specified. The returned checksum is an integer. """ return "" def decompress(string, wbits=None, bufsize=None): """ decompress(string[, wbits[, bufsize]]) -- Return decompressed string. Optional arg wbits is the window buffer size. Optional arg bufsize is the initial output buffer size. """ return "" def decompressobj(wbits=None, zdict=None): """ decompressobj([wbits[, zdict]]) -- Return a decompressor object. Optional arg wbits is the window buffer size. Optional arg zdict is the predefined compression dictionary. This must be the same dictionary as used by the compressor that produced the input data. """ return None class error(Exception): pass