public static int putLong(byte[] bytes,int offset,long val){
  if (littleEndian) {
    val=Long.reverseBytes(val);
  }
  theUnsafe.putLong(bytes,offset + BYTE_ARRAY_BASE_OFFSET,val);
  return offset + Bytes.SIZEOF_LONG;
}

public static int putLong ( byte [ ] bytes , int offset , long val ) { if ( littleEndian ) { val = Long . reverseBytes ( val ) ; } theUnsafe . putLong ( bytes , offset + BYTE_ARRAY_BASE_OFFSET , val ) ; return offset + Bytes . SIZEOF_LONG ; }
put a long value out to the specified byte array position in big - endian format .
