- index
- the index, must not be negative and equal or less than limit - 2.
- value
- the short to write.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IndexOutOfBoundsException if index is invalid. Java.Nio.ReadOnlyBufferException if no changes may be made to the contents of this buffer.
Writes the given short to the specified index of this buffer.
The short is converted to bytes using the current byte order. The position is not changed.