Java Integer Create toIntArrayUnshifted(byte... arguments)

Here you can find the source of toIntArrayUnshifted(byte... arguments)

Description

to Int Array Unshifted

License

BSD License

Declaration

public static int[] toIntArrayUnshifted(byte... arguments) 

Method Source Code

//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;
    }
}

Related

  1. toIntArray(String str, String separator)
  2. toIntArray(String value)
  3. toIntArray(String[] anArray)
  4. toIntArray(String[] array)
  5. toIntArray(String[] ss)
  6. toIntBE(byte[] src, int offset)
  7. toIntBigEndian(byte[] input)
  8. toIntDecoded(String s)
  9. toIntDefaultIfNull(Integer configured, int theDefault)