Example #1
0
        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);
        }
Example #2
0
        public static void WriteValueF64(this Stream stream, double value, Endian endian)
        {
            var rawValue = new OverlapDouble(value).AsU;

            stream.WriteValueU64(rawValue, endian);
        }