public void Deserialize(ref ReadOnlySpan <byte> buffer) { FieldType = (Pv2RttFieldType)BinSerialize.ReadPackedUnsignedInteger(ref buffer); Desc = Pv2RttInterface.CreateFieldByType(FieldType); Desc.Deserialize(ref buffer); }
public Pv2RttFieldResult(Pv2RttFieldDesc desc) { FieldType = desc.Type; Desc = desc; }