public static void putShortLE(byte[] arr,long off,short val){
  if (UNALIGNED)   UNSAFE.putShort(arr,off,Short.reverseBytes(val));
 else   putShortByByte(arr,off,val,false);
}

public static void putShortLE ( byte [ ] arr , long off , short val ) { if ( UNALIGNED ) UNSAFE . putShort ( arr , off , Short . reverseBytes ( val ) ) ; else putShortByByte ( arr , off , val , false ) ; }
stores short value into byte array assuming that value should be stored in little - endian byte order and native byte order is big - endian . alignment aware .
