示例#1
0
        public static void WriteValueF32(this Stream stream, float value, Endian endian)
        {
            var rawValue = new OverlapSingle(value).AsU;

            if (ShouldSwap(endian) == true)
            {
                rawValue = rawValue.Swap();
            }
            stream.WriteValueU32(rawValue, endian);
        }
示例#2
0
        public static void WriteValueF32(this Stream stream, float value, Endian endian)
        {
            var rawValue = new OverlapSingle(value).AsU;

            stream.WriteValueU32(rawValue, endian);
        }