def reset_input_buffer(self):
        if not self.is_open:
            raise portNotOpenError
        if self.logger:
            self.logger.info('ignored reset_input_buffer')
Clear input buffer, discarding all that is in the buffer.
dataset/ETHPy150Open pyserial/pyserial/serial/urlhandler/protocol_socket.py/Serial.reset_input_buffer