mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 12:06:51 +00:00
up
This commit is contained in:
1 parent
3bdf1809a7
commit
9eb57e98a2
1 file changed
+1
-1
@@ -198,7 +198,7 @@ public static class DataSerializer
|
||||
var rt = new byte[4];
|
||||
|
||||
fixed (byte* ptr = rt)
|
||||
*((float*)ptr) = (byte)v;
|
||||
*((float*)ptr) = f;
|
||||
|
||||
return new TDU(TDUIdentifier.Float32, rt, 4);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user