Logo Search packages:      
Sourcecode: qtorrent version File versions  Download package

pyqtorrent3::BitTorrent::zurllib::GzipStream Class Reference

Inherits StringIO::StringIO.

List of all members.

Detailed Description

Magically decompress a file object.

   This is not the most efficient way to do this but GzipFile() wants
   to seek, etc, which won't work for a stream such as that from a socket.
   So we copy the whole shebang info a StringIO object, decompress that
   then let people access the decompressed output as a StringIO object.

   The disadvantage is memory use and the advantage is random access.

   Will mess with fixing this later.

Definition at line 69 of file zurllib.py.

Public Member Functions

def __init__
def close

Public Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index