public static void putDoubleLE(byte[] arr,long off,double val){
  long longVal=Double.doubleToLongBits(val);
  if (UNALIGNED)   UNSAFE.putLong(arr,off,Long.reverseBytes(longVal));
 else   putLongByByte(arr,off,longVal,false);
}

public static void putDoubleLE ( byte [ ] arr , long off , double val ) { long longVal = Double . doubleToLongBits ( val ) ; if ( UNALIGNED ) UNSAFE . putLong ( arr , off , Long . reverseBytes ( longVal ) ) ; else putLongByByte ( arr , off , longVal , false ) ; }
stores double value into byte array assuming that value should be stored in little - endian byte order and native byte order is big - endian . alignment aware .
