in src/azstoragetorch/_client.py [0:0]
def _read_stream(self, stream: Iterator[bytes]) -> bytes: content = io.BytesIO() for chunk in stream: content.write(chunk) return content.getvalue()