Interface IDataSerializer
Data Serializer Interface
Namespace: UnityEngine .GameFoundation .DataPersistence
Assembly: solution.dll
Syntax
public interface IDataSerializer
Methods
Name | Description |
---|---|
Deserialize(string, Type, bool) | Deserialize the data from a string as the type T and return it as an object. Can use encryption. |
Deserialize<T>(byte[], bool) | Deserialize the data from a byte array and return it as the type T. Can use encryption. |
Deserialize<T>(Stream, bool) | Deserialize the data from a stream and return it as the type T. Can use encryption. |
Deserialize<T>(string, bool) | Deserialize the data from a string and return it as the type T. Can use encryption. |
Serialize(object) | Serialize a data object and return the data as object. |
Serialize(object, bool) | Serialize a data object and return the data as string. Can use encryption. |
Serialize<T>(T, bool) | Serialize the data of a generic type T and return the data as string. Can use encryption. |
Serialize<T>(T, Stream, bool) | Serialize the data of a generic type T and write the data through a stream. Can use encryption. |