Exemple #1
0
 public void Serialize(ref JT809MessagePackWriter writer, JT809_0x9200_0x920D value, IJT809Config config)
 {
     writer.WriteUInt32(value.DRVLineID);
     writer.WriteByte(value.Result);
     writer.Skip(2, out int position);
     writer.WriteString(value.Reason);
     writer.WriteUInt16Return((ushort)(writer.GetCurrentPosition() - position - 2), position);
 }