Here you can find the source of Bytes8ToLong(byte abyte0[], int offset)
public static long Bytes8ToLong(byte abyte0[], int offset)
//package com.java2s; //License from project: Apache License public class Main { public static long Bytes8ToLong(byte abyte0[], int offset) { return (255L & (long) abyte0[offset]) << 56 | (255L & (long) abyte0[offset + 1]) << 48 | (255L & (long) abyte0[offset + 2]) << 40 | (255L & (long) abyte0[offset + 3]) << 32 | (255L & (long) abyte0[offset + 4]) << 24 | (255L & (long) abyte0[offset + 5]) << 16 | (255L & (long) abyte0[offset + 6]) << 8 | (255L & (long) abyte0[offset + 7]); }//from w w w .j a v a 2 s .co m }