public static float getFloat(byte[] b, int off) {
    int i = ((b[off + 3] & 0xFF) << 0) +
            ((b[off + 2] & 0xFF) << 8) +
            ((b[off + 1] & 0xFF) << 16) +
            ((b[off + 0] & 0xFF) << 24);
    return Float.intBitsToFloat(i);
  }
public static float getFloat(byte[] b, int off)