Writes specified text to the underlying stream

        Parameters
        ----------
        output bytes-like object
            Bytes to write

def write(self, output):
        """
        Writes specified text to the underlying stream

        Parameters
        ----------
        output bytes-like object
            Bytes to write
        """
        self._stream.write(output)

        if self._auto_flush:
            self._stream.flush()