Example #1
0
 public T ReverseActions <T>(string serialized)
 {
     byte[] bytes = _stringSerializer.Destringify(serialized);
     for (int i = _actionList.Length - 1; i >= 0; i--)
     {
         bytes = _actionList[i].ReverseAction(bytes);
     }
     return(FromByteArray <T>(bytes));
 }
Example #2
0
 public void StoreData(string path, string data)
 {
     byte[] inputBytes = _stringSerializer.Destringify(data);
     File.WriteAllBytes(path, inputBytes);
 }