Here you can find the source of littleEndToInt(byte[] array, int start)
public static int littleEndToInt(byte[] array, int start)
//package com.java2s; public class Main { /**//from w w w . j a va 2 s . com * \copydoc littleEndToLong() **/ public static int littleEndToInt(byte[] array, int start) { return (((array[start + 3] & 0xFF) << 24) | ((array[start + 2] & 0xFF) << 16) | ((array[start + 1] & 0xFF) << 8) | (array[start + 0] & 0xFF)); } }