(self, data, chunk_size)
| 372 | raise TypeError("bytes/str/file-like data required") |
| 373 | |
| 374 | def __init__(self, data, chunk_size): |
| 375 | self.data = data |
| 376 | self.view = self._thread_safe_data_view(data) |
| 377 | |
| 378 | if chunk_size <= 0: |
| 379 | raise ValueError("positive integer required for chunk size") |
| 380 | self.chunk_size = int(chunk_size) |
| 381 | |
| 382 | @property |
| 383 | def total_size(self): |
nothing calls this directly
no test coverage detected