void writeCharCode(int charCode)

Adds the string representation of charCode to the buffer.