class documentation

class ChunkReader:

Constructor: ChunkReader(f)

View In Hierarchy

Reader for chunked transfer encoding streams.

Method __init__ Initialize ChunkReader.
Method read Read n bytes from the chunked stream.
Instance Variable _buffer Undocumented
Instance Variable _iter Undocumented
def __init__(self, f: BinaryIO):

Initialize ChunkReader.

Parameters
f:BinaryIOBinary file-like object to read from
def read(self, n: int) -> bytes:

Read n bytes from the chunked stream.

Parameters
n:intNumber of bytes to read
Returns
bytesUp to n bytes of data
_buffer: list[bytes] =

Undocumented

_iter =

Undocumented