Here you can find the source of toIntArrayUnshifted(byte... arguments)
public static int[] toIntArrayUnshifted(byte... arguments)
//package com.java2s; /**/*from w w w . ja va2 s . c om*/ * This class is part of JCodec ( www.jcodec.org ) This software is distributed * under FreeBSD License * * @author Jay Codec * */ public class Main { public static int[] toIntArrayUnshifted(byte... arguments) { int[] result = new int[arguments.length]; for (int i = 0; i < result.length; i++) result[i] = (byte) (arguments[i] + 128); return result; } }