Lines Matching refs:BytesIO
5 from io import BytesIO, DEFAULT_BUFFER_SIZE
391 bz2f = BZ2File(BytesIO(self.DATA))
400 bz2f = BZ2File(BytesIO(), "w")
407 src = BytesIO(self.DATA)
417 bz2f = BZ2File(BytesIO(self.DATA))
426 bz2f = BZ2File(BytesIO(), "w")
434 bz2f = BZ2File(BytesIO(self.DATA))
443 bz2f = BZ2File(BytesIO(), "w")
558 decomp = BZ2File(BytesIO(bomb))
568 with BytesIO(self.DATA) as bio:
575 with BytesIO(self.DATA) as bio:
583 with BytesIO() as bio:
591 with BytesIO(self.DATA) as bio:
598 with BytesIO(self.DATA) as bio:
607 with BZ2File(BytesIO(truncated)) as f:
609 with BZ2File(BytesIO(truncated)) as f:
614 with BZ2File(BytesIO(truncated[:i])) as f:
940 with self.open(BytesIO(self.DATA), "r") as f:
942 with self.open(BytesIO(self.DATA), "rb") as f:
945 with self.open(BytesIO(self.DATA), "rt") as f: