docs: @Override
      public void discardOutput() throws IllegalStateException, IOException{
          // validate state
          if (isClosed())
                  throw new IllegalStateException("Serial connection is not open; cannot 'discardOutput()'.");
  
          // flush data to serial port immediately
          com.pi4j.jni.Serial.discardOutput(fileDescriptor);
      }