Exemple #1
0
 public void FromBytes(ByteQueue bytes)
 {
     states.Clear();
     states.Add(bytes.GetIToBytes <T>(typeof(T)));
     while (bytes.StartsWith(DELIMITER))
     {
         bytes.GetBytes(DELIMITER.Length);
         states.Add(bytes.GetIToBytes <T>(typeof(T)));
     }
 }
Exemple #2
0
 public void MysetClear()
 {
     Mysets.Clear();
     Mysets = null;
     Mysets = new SerializableList <MysetInfo>();
 }