public void write(char ... data) throws IllegalStateException, IOException{
        write(StandardCharsets.US_ASCII, CharBuffer.wrap(data));
    }
public void write ( char ... data ) throws IllegalStateException , IOException { write ( StandardCharsets . US_ASCII , CharBuffer . wrap ( data ) ) ; }
<p>Sends an array of ASCII characters to the serial port/device identified by the given file descriptor.</p>

@param data
One or more ASCII characters (or an array) of data to be transmitted. (variable-length-argument)