Here you can find the source of byteToLong(byte[] values)
public static long[] byteToLong(byte[] values)
//package com.java2s; public class Main { public static long[] byteToLong(byte[] values) { if (values == null) { return null; }/*from w w w .ja v a 2s . c om*/ long[] results = new long[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; } return results; } }