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)); }
public void StoreData(string path, string data) { byte[] inputBytes = _stringSerializer.Destringify(data); File.WriteAllBytes(path, inputBytes); }