writeCharCode method
Writes a string containing the character with code point charCode
.
Equivalent to write(String.fromCharCode(charCode))
.
Implementation
@override
void writeCharCode(int charCode) {
if (!isOpen && isBuffered) {
throw closed();
} else if (!isBuffered) {
add([charCode]);
} else {
buffer!.addByte(charCode);
}
}