Here you can find the source of FLIPENDIAN_INT32(int x)
static private int FLIPENDIAN_INT32(int x)
//package com.java2s; // I ported this from the mame project, this is their license public class Main { static private int FLIPENDIAN_INT32(int x) { return (x << 24) | (x >>> 24) | ((x & 0x0000ff00) << 8) | ((x & 0x00ff0000) >> 8); }//from w w w . ja v a 2s .c o m }