- val
- the short 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 short to this file, starting at the current file pointer. Only the two least significant bytes of the integer val are written.