- val
- the byte to write to this file.
Type Reason Java.IO.IOException if this file is closed or another I/O error occurs.
Writes an 8-bit byte to this file, starting at the current file pointer. Only the least significant byte of the integer val is written.