Here you can find the source of bytesLittleToFloat(byte[] data, int start)
public static float bytesLittleToFloat(byte[] data, int start)
//package com.java2s; //License from project: Apache License public class Main { public static float bytesLittleToFloat(byte[] data, int start) { int ret = 0; ret = 0x000000ff & data[start + 0]; ret |= (0x000000ff & data[start + 1]) << 8; ret |= (0x000000ff & data[start + 2]) << 16; ret |= (0x000000ff & data[start + 3]) << 24; return Float.intBitsToFloat(ret); }/*www . j a va 2 s . co m*/ }