- index
- the index, must not be negative and equal or less than limit - 2.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IndexOutOfBoundsException if index is invalid.
Returns the short at the specified index.
The 2 bytes starting at the specified index are composed into a short according to the current byte order and returned. The position is not changed.