Here you can find the source of readUintLE(byte[] bytes, int pointer, int size)
public static long readUintLE(byte[] bytes, int pointer, int size)
//package com.java2s; //License from project: Open Source License import java.nio.ByteBuffer; import java.nio.ByteOrder; public class Main { public static long readUintLE(byte[] bytes, int pointer, int size) { ByteBuffer buffer = ByteBuffer.allocate(8); buffer.put(bytes, pointer, size); buffer.put(new byte[8 - size]); buffer.flip();/* w w w.j av a 2s .c o m*/ return buffer.order(ByteOrder.LITTLE_ENDIAN).getLong(); } }