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