Here you can find the source of byteToPositiveInt(byte inByte)
public static int byteToPositiveInt(byte inByte)
//package com.java2s; //License from project: Open Source License public class Main { public static int byteToPositiveInt(byte inByte) { return inByte + 128; }/*from www . ja v a 2 s. c o m*/ }