2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-12-13 16:30:24 +00:00
This commit is contained in:
2025-11-02 15:10:07 +03:00
parent 3bdf1809a7
commit 9eb57e98a2

View File

@@ -198,7 +198,7 @@ public static class DataSerializer
var rt = new byte[4]; var rt = new byte[4];
fixed (byte* ptr = rt) fixed (byte* ptr = rt)
*((float*)ptr) = (byte)v; *((float*)ptr) = f;
return new TDU(TDUIdentifier.Float32, rt, 4); return new TDU(TDUIdentifier.Float32, rt, 4);
} }