Here you can find the source of getLong5(byte[] b, int offset)
public static long getLong5(byte[] b, int offset)
//package com.java2s; public class Main { public static long getLong5(byte[] b, int offset) { long ret = (b[offset] & 0xffL) << 32; ret += ((b[offset + 1] & 0xffL)) << 24; ret += ((b[offset + 2] & 0xffL) << 16); ret += ((b[offset + 3] & 0xffL) << 8); ret += (b[offset + 4] & 0xffL); return ret; }//from ww w . ja va 2 s . c om }