Here you can find the source of readLong(byte[] src, int pointer)
public static long readLong(byte[] src, int pointer)
//package com.java2s; //License from project: Open Source License import java.nio.ByteBuffer; public class Main { public static long readLong(byte[] src, int pointer) { return ByteBuffer.wrap(src, pointer, 8).getLong(); }/* w w w . j a v a 2 s . c o m*/ }