class documentation

class ChunkedBytesIO(object):

View In Hierarchy

Turn a list of bytestrings into a file-like object.

This is similar to creating a BytesIO from a concatenation of the bytestring list, but saves memory by NOT creating one giant bytestring first:

BytesIO(b''.join(list_of_bytestrings)) =~= ChunkedBytesIO(
    list_of_bytestrings)
Method __init__ Undocumented
Method read Undocumented
Instance Variable contents Undocumented
Instance Variable pos Undocumented
def __init__(self, contents):

Undocumented

def read(self, maxbytes=None):

Undocumented

contents =

Undocumented

pos =

Undocumented