Here you can find the source of byteToInt(byte[] values)
public static int[] byteToInt(byte[] values)
//package com.java2s; public class Main { public static int[] byteToInt(byte[] values) { if (values == null) { return null; }// w w w . ja va 2 s. c o m int[] results = new int[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; } return results; } }