public char[] toCharArray() {

        // Avoid rebuilding Guacamole protocol form of instruction if already
        // known
        if (rawChars == null)
            rawChars = toString().toCharArray();

        return rawChars;

    }
Returns this GuacamoleInstruction in the form it would be sent over the
Guacamole protocol. The returned char[] MUST NOT be modified. If the
returned char[] is modified, the results of doing so are undefined.

@return
    This GuacamoleInstruction in the form it would be sent over the
    Guacamole protocol. The returned char[] MUST NOT be modified.
guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleInstruction.java