parameters: (self)
return_statement: return bytes(self._buffer)
docstring: Return the bytes value (contents) of the buffer
docstring_summary: Return the bytes value (contents) of the buffer
docstring_tokens: Return the bytes value ( contents ) of the buffer
function: def getvalue(self):
          """Return the bytes value (contents) of the buffer
          """
          if self.closed:
              raise ValueError("getvalue on closed file")
          return bytes(self._buffer)
function_tokens: def getvalue ( self ) : if self . closed : raise ValueError ( "getvalue on closed file" ) return bytes ( self . _buffer )