public static void WriteValueF64(this Stream stream, double value, Endian endian) { var rawValue = new OverlapDouble(value).AsU; if (ShouldSwap(endian) == true) { rawValue = rawValue.Swap(); } stream.WriteValueU64(rawValue, endian); }
public static void WriteValueF64(this Stream stream, double value, Endian endian) { var rawValue = new OverlapDouble(value).AsU; stream.WriteValueU64(rawValue, endian); }