/** * Presumes float encoded as IEEE 754 floating-point "single format" * @param bytes byte array * @return Float made from passed byte array. */ public static float toFloat(byte [] bytes) { return toFloat(bytes, 0); }
/** * Presumes float encoded as IEEE 754 floating-point "single format" * @param bytes byte array * @return Float made from passed byte array. */ public static float toFloat(byte [] bytes) { return toFloat(bytes, 0); }
datum = bytes == null || bytes.length == 0 ? NullDatum.get() : DatumFactory.createFloat4(Bytes.toFloat(bytes)); break; case FLOAT8:
datum = bytes == null || bytes.length == 0 ? NullDatum.get() : DatumFactory.createFloat4(Bytes.toFloat(bytes)); break; case FLOAT8: