eof True if the end-of-stream marker has been reached.
Compress.compress(data) Compress data, returning a bytes object containing compressed data for at least part of the
class bz2.BZ2File(filename, mode='r', buffering=None, compresslevel=9) Open a bzip2-compressed file in binary mode.
Decompress.decompress(data[, max_length]) Decompress data, returning a bytes object containing the uncompressed data
zlib.crc32(data[, value]) Computes a CRC (Cyclic Redundancy Check) checksum of data. The result is an unsigned 32-bit
ZipInfo.compress_size Size of the compressed data.
class bz2.BZ2Decompressor Create a new decompressor object. This object may be used to decompress data incrementally. For one-shot
exception tarfile.StreamError Is raised for the limitations that are typical for stream-like TarFile objects.
ZipFile.testzip() Read all the files in the archive and check their CRC’s and file headers. Return the name of the first bad
classmethod TarInfo.frombuf(buf, encoding, errors) Create and return a TarInfo object from string buffer buf
Page 7 of 14