public static double GetF64(Stream data) { byte[] buff = IOUtil.ReadExpect(data, 8); return(System.BitConverter.ToDouble(buff, 0)); }
//-------------------------------------------------------------------------------------- public static float GetF32(Stream data) { byte[] buff = IOUtil.ReadExpect(data, 4); return(System.BitConverter.ToSingle(buff, 0)); }