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