writeCharCode method

void writeCharCode(
  1. int charCode
)
inherited

Writes the character of charCode.

This method is equivalent to write(String.fromCharCode(charCode)).

This operation is non-blocking. See flush or done for how to get any errors generated by this call.

Implementation

void writeCharCode(int charCode) {
  if (!_windowsLineTerminator) {
    _sink.writeCharCode(charCode);
    return;
  }

  _write(String.fromCharCode(charCode));
}