Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public sealed class TimeSpanFormatter : MinimalBaseFormatter<TimeSpan>, IFormatter<TimeSpan>, IFormatter
public TimeSpanFormatter()
protected override void Read(ref TimeSpan value, IDataReader reader)
System.TimeSpan | value | The value to read into. |
Sirenix.Serialization.IDataReader | reader | The reader to use. |
protected override void Write(ref TimeSpan value, IDataWriter writer)
System.TimeSpan | value | The value to write from. |
Sirenix.Serialization.IDataWriter | writer | The writer to use. |