Here you can find the source of getReverseBytesInt(byte[] bb, int index)
public static int getReverseBytesInt(byte[] bb, int index)
//package com.java2s; public class Main { public static int getReverseBytesInt(byte[] bb, int index) { return (int) ((((bb[index + 3] & 0xff) << 24) | ((bb[index + 2] & 0xff) << 16) | ((bb[index + 1] & 0xff) << 8) | ((bb[index + 0] & 0xff) << 0))); }/* w w w . j ava 2 s . c om*/ }