(self, size=-1)
return b
Returns 'size' amount of bytes or less if there is no more data.
        If no size is given all data is returned. size can be >= 0.
Returns 'size' amount of bytes or less if there is no more data.
        If no size is given all data is returned. size can be >= 0.
Returns size amount of bytes or less if there is no more data . If no size is given all data is returned . size can be > = 0 .
def read(self, size=-1):
        """Returns 'size' amount of bytes or less if there is no more data.
        If no size is given all data is returned. size can be >= 0."""
        if self.closed:
            raise ValueError("I/O operation on closed file")
        max_size = max(0, self.size - self.pos)
        if size < 0 or size > max_size:
            size = max_size
        if size == 0:
            return b""
        downloader = self.blob_client.download_blob(
            self.pos, size, max_concurrency=self.max_connections
        )
        b = downloader.readall()
        self.pos += len(b)
        return b
def read ( self , size = - 1 ) : if self . closed : raise ValueError ( "I/O operation on closed file" ) max_size = max ( 0 , self . size - self . pos ) if size < 0 or size > max_size : size = max_size if size == 0 : return b"" downloader = self . blob_client . download_blob ( self . pos , size , max_concurrency = self . max_connections ) b = downloader . readall ( ) self . pos += len ( b ) return b