mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-12-13 16:30:24 +00:00
up
This commit is contained in:
@@ -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