Writes a short integer to this stream.
public void writeShort( short value )
value
The short integer to write.
IOException thrown if an I/O error occurs or if the stream does not support writing.
The current position is advanced by two bytes.
See Also readShort