Here you can find the source of getIntFromByte(final byte bite)
public static int getIntFromByte(final byte bite)
//package com.java2s; public class Main { public static int getIntFromByte(final byte bite) { return Integer.valueOf(bite & 0xFF); }//from ww w . ja va2 s .c om }