OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, stream) |
def | tell (self) |
def | seek (self, pos) |
def | read (self, bytes) |
Data Fields | |
stream | |
buffer | |
position | |
Buffering for streams that do not have buffering of their own The buffer is implemented as a list of chunks on the assumption that joining many strings will be slow since it is O(n**2)
def __init__ | ( | self, | |
stream | |||
) |
def read | ( | self, | |
bytes | |||
) |
def seek | ( | self, | |
pos | |||
) |
def tell | ( | self | ) |
buffer |
position |
stream |