- val
- the char to write to this file.
Type Reason Java.IO.IOException if an I/O error occurs while writing to this file.
Writes a big-endian 16-bit character to this file, starting at the current file pointer. Only the two least significant bytes of the integer val are written, with the high byte first.