class documentation

class LimitedStream:

View In Hierarchy

Wrap another stream to disallow reading it past a number of bytes.
Method __init__ Undocumented
Method ​_read​_limited Undocumented
Method read Undocumented
Method readline Undocumented
Instance Variable buf​_size Undocumented
Instance Variable buffer Undocumented
Instance Variable remaining Undocumented
Instance Variable stream Undocumented
def __init__(self, stream, limit, buf_size=(64*1024)*1024):

Undocumented

def _read_limited(self, size=None):

Undocumented

def read(self, size=None):

Undocumented

def readline(self, size=None):

Undocumented

buf_size =

Undocumented

buffer =

Undocumented

remaining =

Undocumented

stream =

Undocumented