Beispiel #1
0
 public override void Deserialize(BinaryReader reader)
 {
     State = new VMMarshal();
     State.Deserialize(reader);
     if (reader.ReadBoolean())
     {
         Trace = new VMSyncTraceTick();
         Trace.Deserialize(reader);
     }
 }
 public override void Deserialize(BinaryReader reader)
 {
     State = new VMMarshal();
     State.Deserialize(reader);
     if (reader.ReadBoolean())
     {
         Traces = new List <VMSyncTraceTick>();
         var total = reader.ReadInt32();
         for (int i = 0; i < total; i++)
         {
             var trace = new VMSyncTraceTick();
             trace.Deserialize(reader);
             Traces.Add(trace);
         }
     }
 }