Here you can find the source of bytesToUIntLE(byte[] data)
public static int bytesToUIntLE(byte[] data)
//package com.java2s; //License from project: Open Source License public class Main { public static int bytesToUIntLE(byte[] data) { return bytesToUIntLE(data, 0, data.length); }/*from w ww . ja v a2 s. c o m*/ public static int bytesToUIntLE(byte[] data, int offset, int length) { int i = offset + length; int value = 0; while (--i >= offset) { value <<= 8; value |= data[i] & 0xFF; } return value; } }