Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public static void WriteValueF32(this Stream stream, float value, Endian endian)
        {
            var rawValue = new OverlapSingle(value).AsU;

            stream.WriteValueU32(rawValue, endian);
        }