public UniTask <TData> LoadAsync <TData>(string fileName) { return(_fileProvider.ReadAsync(GetFilePath(fileName)) .ContinueWith(bytes => _serializationProvider.DeserializeAsync <TData>(bytes))); }
public UniTask <T> DeserializeAsync <T>(byte[] data) => _dataTransform.ReverseAsync(data) .ContinueWith(bytes => _baseProvider.DeserializeAsync <T>(bytes));
public UniTask <T> GetDataAsync <T>(string key) => _serializationProvider.DeserializeAsync <T>(GetBytes(key));