def reset_output_buffer(self):
        if not self.is_open:
            raise portNotOpenError
        win32.PurgeComm(self._port_handle, win32.PURGE_TXCLEAR | win32.PURGE_TXABORT)
Clear output buffer, aborting the current output and discarding all
dataset/ETHPy150Open pyserial/pyserial/serial/serialwin32.py/Serial.reset_output_buffer