writeChars