public static double ToDouble(ulong value) { UIntFloat num = new UIntFloat { longValue = value }; return num.doubleValue; }
public double ReadDouble() { #if INCLUDE_IL2CPP return(BitConverter.ToDouble(BitConverter.GetBytes(ReadUInt64()), 0)); #else ulong value = ReadUInt64(); return(FloatConversion.ToDouble(value)); #endif }