class documentation

class ClosingBytesIO(io.BytesIO): (source)

View In Hierarchy

A io.BytesIO instance that closes itself after all its data has been read. This mimics the behavior of http.client.HTTPResponse in the standard library.

Method read Undocumented
def read(self, size=None): (source)

Undocumented

Parameters
size:Optional[int]Undocumented
Returns
bytesUndocumented