- value
- the short to write.
Documentation for this section has not yet been entered.
Type Reason Java.Nio.BufferOverflowException if position is greater than limit - 2. Java.Nio.ReadOnlyBufferException if no changes may be made to the contents of this buffer.
Writes the given short to the current position and increases the position by 2.
The short is converted to bytes using the current byte order.