OpenQuizz
Une application de gestion des contenus pédagogiques
_StreamProxy Class Reference
Inheritance diagram for _StreamProxy:
Collaboration diagram for _StreamProxy:

Public Member Functions

def __init__ (self, fileobj)
 
def read (self, size)
 
def getcomptype (self)
 
def close (self)
 

Data Fields

 fileobj
 
 buf
 
 read
 

Detailed Description

Small proxy class that enables transparent compression
   detection for the Stream interface (mode 'r|*').

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  fileobj 
)

Member Function Documentation

◆ close()

def close (   self)

◆ getcomptype()

def getcomptype (   self)

◆ read()

def read (   self,
  size 
)

Field Documentation

◆ buf

buf

◆ fileobj

fileobj

◆ read

read

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