public void WriteFloat(uint address, float value)
{
var memory = MemoryMarshal.Cast<float, byte>(new Span<float>(ref value));
BinaryPrimitives.WriteSingleBigEndian(memory, value);
SetMemory(address, memory, out _);
}
public void WriteFloat(uint address, float value)
{
var memory = MemoryMarshal.Cast<float, byte>(new Span<float>(ref value));
BinaryPrimitives.WriteSingleBigEndian(memory, value);
SetMemory(address, memory, out _);
}