public double ReadDouble() { #if INCLUDE_IL2CPP return(BitConverter.ToDouble(BitConverter.GetBytes(ReadUInt64()), 0)); #else ulong value = ReadUInt64(); return(FloatConversion.ToDouble(value)); #endif }
public float ReadSingle() { #if INCLUDE_IL2CPP return(BitConverter.ToSingle(BitConverter.GetBytes(ReadUInt32()), 0)); #else uint value = ReadUInt32(); return(FloatConversion.ToSingle(value)); #endif }