private static void appendElement(StringBuilder buff, String element) {
        buff.append(element.codePointCount(0, element.length()));
        buff.append('.');
        buff.append(element);
    }
Appends the given value to the provided StringBuilder as a Guacamole
instruction element, including length prefix.

@param buff
    The StringBuilder to append the element to.

@param element
    The string value of the element to append.
guacamole-common/src/main/java/org/apache/guacamole/protocol/GuacamoleInstruction.java