ChunkIter
An iterable that will yield chunks of data. Given a file-like object as the constructor, yield chunks of read operations from that object.
Attributes
| Attribute | Type | Description |
|---|---|---|
| flo | file-like object | The file-like object from which data is read during iteration. |
| chunk_size | integer = 65536 | The number of bytes to read from the file-like object in each iteration step. |
Constructor
Signature
def ChunkIter(
flo: file-like object,
chunk_size: int = 65536
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| flo | file-like object | The file-like object to read data from. |
| chunk_size | int = 65536 | The size of each data chunk to read in bytes. |
Signature
def ChunkIter(
flo: file-like object,
chunk_size: int = 65536
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| flo | file-like object | The source file-like object from which data chunks will be read |
| chunk_size | int = 65536 | The number of bytes to read from the file-like object in each iteration |