Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public class ReflectionFormatter<T> : BaseFormatter<T>, IFormatter<T>, IFormatter
The type which can be serialized and deserialized by the formatter.
public ReflectionFormatter()
public ReflectionFormatter(ISerializationPolicy overridePolicy)
Sirenix.Serialization.ISerializationPolicy | overridePolicy |
public ISerializationPolicy OverridePolicy { get; }
protected override void DeserializeImplementation(ref T value, IDataReader reader)
T | value | The uninitialized value to serialize into. This value will have been created earlier using GetUninitializedObject(). |
Sirenix.Serialization.IDataReader | reader | The reader to deserialize with. |
protected override void SerializeImplementation(ref T value, IDataWriter writer)
T | value | The value to serialize. |
Sirenix.Serialization.IDataWriter | writer | The writer to serialize with. |