using System.Diagnostics; using System.Runtime.InteropServices; namespace MissionTmaLib; [DebuggerDisplay("AsInt = {AsInt}, AsFloat = {AsFloat}")] public class IntFloatValue(Span span) { public int AsInt { get; set; } = MemoryMarshal.Read(span); public float AsFloat { get; set; } = MemoryMarshal.Read(span); }