Here you can find the source of getFloat(byte[] b, int index)
public static float getFloat(byte[] b, int index)
//package com.java2s; public class Main { public static float getFloat(byte[] b, int index) { int l;/* w w w .j a v a 2 s. com*/ l = b[index + 0]; l &= 0xff; l |= ((long) b[index + 1] << 8); l &= 0xffff; l |= ((long) b[index + 2] << 16); l &= 0xffffff; l |= ((long) b[index + 3] << 24); return Float.intBitsToFloat(l); } }