/** * get a float value from a byte array, reads it in little endian format * then converts the resulting revolting IEEE 754 (curse them) floating * point number to a happy java float * * @param data * the byte array * @return the double (64-bit) value */ public static float getFloat( byte[] data ) { return getFloat( data, 0 ); }
/** * get a float value from a byte array, reads it in little endian format * then converts the resulting revolting IEEE 754 (curse them) floating * point number to a happy java float * * @param data * the byte array * @return the double (64-bit) value */ public static float getFloat( byte[] data ) { return getFloat( data, 0 ); }
/** * get a float value from a byte array, reads it in little endian format * then converts the resulting revolting IEEE 754 (curse them) floating * point number to a happy java float * * @param data * the byte array * @return the double (64-bit) value */ public static float getFloat( byte[] data ) { return getFloat( data, 0 ); }
/** * get a float value from a byte array, reads it in little endian format * then converts the resulting revolting IEEE 754 (curse them) floating * point number to a happy java float * * @param data * the byte array * @return the double (64-bit) value */ public static float getFloat( byte[] data ) { return getFloat( data, 0 ); }
@Override public Float getValue() { return LittleEndian.getFloat(data); }