Here you can find the source of byteArray2Int3(byte[] b)
public static final int byteArray2Int3(byte[] b)
//package com.java2s; public class Main { public static final int byteArray2Int3(byte[] b) { return ((b[0] & 0xFF) << 16) + ((b[1] & 0xFF) << 8) + (b[2] & 0xFF); }/* w ww. j a va 2s .c o m*/ }