def _readall(self):
        """
        Read and return all the bytes from the stream until EOF.

        Returns:
            bytes: Object content
        """
        with _handle_oss_error():
            return self._bucket.get_object(key=self._key).read()
Read and return all the bytes from the stream until EOF.

        Returns:
            bytes: Object content