Here you can find the source of getInt(byte[] bb, int index)
public static int getInt(byte[] bb, int index)
//package com.java2s; public class Main { public static int getInt(byte[] bb, int index) { return (int) ((((bb[index + 0] & 0xff) << 24) | ((bb[index + 1] & 0xff) << 16) | ((bb[index + 2] & 0xff) << 8) | ((bb[index + 3] & 0xff) << 0))); }/*from ww w . ja v a 2s . c om*/ }