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