# Stubs for zlib (Python 3.4) # # NOTE: This stub was automatically generated by stubgen. # TODO: Compress and Decompress classes are not published by the module. DEFLATED = ... # type: int DEF_BUF_SIZE = ... # type: int DEF_MEM_LEVEL = ... # type: int MAX_WBITS = ... # type: int ZLIB_RUNTIME_VERSION = ... # type: str ZLIB_VERSION = ... # type: str Z_BEST_COMPRESSION = ... # type: int Z_BEST_SPEED = ... # type: int Z_DEFAULT_COMPRESSION = ... # type: int Z_DEFAULT_STRATEGY = ... # type: int Z_FILTERED = ... # type: int Z_FINISH = ... # type: int Z_FULL_FLUSH = ... # type: int Z_HUFFMAN_ONLY = ... # type: int Z_NO_FLUSH = ... # type: int Z_SYNC_FLUSH = ... # type: int def adler32(data, value=...) -> int: ... def compress(data, level: int = ...): ... def compressobj(level=..., method=..., wbits=..., memlevel=..., strategy=..., zdict=...): ... def crc32(data, value=...) -> int: ... def decompress(data, wbits=..., bufsize=...): ... def decompressobj(wbits=..., zdict=...): ... class error(Exception): ...