Here you can find the source of getInt3(byte[] b, int offset)
public static int getInt3(byte[] b, int offset)
//package com.java2s; public class Main { public static int getInt3(byte[] b, int offset) { return ((b[offset] & 0xff) << 16) | ((b[offset + 1] & 0xff) << 8) | (b[offset + 2] & 0xff); }/*from ww w . j a va2 s . co m*/ }