public final void putShortLittleEndian(int index, short value) {
		if (LITTLE_ENDIAN) {
			putShort(index, value);
		} else {
			putShort(index, Short.reverseBytes(value));
		}
	}
public final void putShortLittleEndian ( int index , short value ) { if ( LITTLE_ENDIAN ) { putShort ( index , value ) ; } else { putShort ( index , Short . reverseBytes ( value ) ) ; } }
Writes the given short integer value (16 bit, 2 bytes) to the given position in little-endian
byte order. This method's speed depends on the system's native byte order, and it
is possibly slower than {@link #putShort(int, short)}. For most cases (such as
transient storage in memory or serialization for I/O and network),
it suffices to know that the byte order in which the value is written is the same as the
one in which it is read, and {@link #putShort(int, short)} is the preferable choice.

@param index The position at which the value will be written.
@param value The short value to be written.

@throws IndexOutOfBoundsException Thrown, if the index is negative, or larger than the segment size minus 2.