(self)
return memoryview(self._buffer)
Return a readable and writable view of the buffer.
Return a readable and writable view of the buffer.
Return a readable and writable view of the buffer .
def getbuffer(self):
        """Return a readable and writable view of the buffer.
        """
        if self.closed:
            raise ValueError("getbuffer on closed file")
        return memoryview(self._buffer)
def getbuffer ( self ) : if self . closed : raise ValueError ( "getbuffer on closed file" ) return memoryview ( self . _buffer )