Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public class StackFormatter<TStack, TValue> : BaseFormatter<TStack>, IFormatter<TStack>, IFormatter where TStack : Stack<TValue>, new()
public StackFormatter()
protected override void DeserializeImplementation(ref TStack value, IDataReader reader)
TStack | 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 TStack GetUninitializedObject()
TStack | A null value. |
protected override void SerializeImplementation(ref TStack value, IDataWriter writer)
TStack | value | The value to serialize. |
Sirenix.Serialization.IDataWriter | writer | The writer to serialize with. |