Lines Matching refs:BytesIO
36 class UnseekableIO(io.BytesIO):
147 f = gzip.GzipFile(fileobj=io.BytesIO(compressed), mode='rb')
527 bomb = io.BytesIO(bomb)
541 with gzip.GzipFile(fileobj=io.BytesIO(datac), mode="rb") as f:
551 with gzip.GzipFile(fileobj=io.BytesIO(datac), mode="rb") as f:
557 buf = io.BytesIO()
569 with gzip.GzipFile(fileobj=io.BytesIO(truncated)) as f:
571 with gzip.GzipFile(fileobj=io.BytesIO(truncated)) as f:
576 with gzip.GzipFile(fileobj=io.BytesIO(truncated[:i])) as f:
584 with gzip.GzipFile(fileobj=io.BytesIO(gzdata)) as f:
598 with gzip.GzipFile(fileobj=io.BytesIO(), mode='w') as f:
688 with gzip.open(io.BytesIO(compressed), "r") as f:
690 with gzip.open(io.BytesIO(compressed), "rb") as f:
692 with gzip.open(io.BytesIO(compressed), "rt", encoding="ascii") as f:
756 with io.BytesIO() as bytes_io: