public static int putInt(byte[] bytes,int offset,int val){
  if (littleEndian) {
    val=Integer.reverseBytes(val);
  }
  theUnsafe.putInt(bytes,offset + BYTE_ARRAY_BASE_OFFSET,val);
  return offset + Bytes.SIZEOF_INT;
}

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