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))); } }
public void MysetClear() { Mysets.Clear(); Mysets = null; Mysets = new SerializableList <MysetInfo>(); }