public int getInt ( int index ) { // Reading little-endian value int i = unsafe . getInt ( base , address + index ) ; // Reversing the endian return Integer . reverseBytes ( i ) ; }
Read a big - endian int value at the specified index