(self)
return bytes(self._buffer)
Return the bytes value (contents) of the buffer
Return the bytes value (contents) of the buffer
Return the bytes value ( contents ) of the buffer
def getvalue(self):
        """Return the bytes value (contents) of the buffer
        """
        if self.closed:
            raise ValueError("getvalue on closed file")
        return bytes(self._buffer)
def getvalue ( self ) : if self . closed : raise ValueError ( "getvalue on closed file" ) return bytes ( self . _buffer )