Here you can find the source of fromIntLong(byte[] value)
public static long fromIntLong(byte[] value)
//package com.java2s; //License from project: Open Source License public class Main { public static long fromIntLong(byte[] value) { return fromIntLong(value, 0); }/*from w w w . ja v a 2 s . c om*/ /** * (int)byte[] -> 4 byte -> int -> long * * @param value * @param offset * @return */ public static long fromIntLong(byte[] value, int offset) { long result = 0; result = result | (value[offset + 3] & 0xff); result = result | (((long) (value[offset + 2] & 0xff)) << 8); result = result | (((long) (value[offset + 1] & 0xff)) << 16); result = result | (((long) (value[offset + 0] & 0xff)) << 24); return result; } }