Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
[EmittedFormatter]
public sealed class RuntimeEmittedFormatter<T> : EasyBaseFormatter<T>, IFormatter<T>, IFormatter
public RuntimeEmittedFormatter(FormatterEmitter.ReadDataEntryMethodDelegate<T> read, FormatterEmitter.WriteDataEntriesMethodDelegate<T> write)
Sirenix.Serialization.FormatterEmitter.ReadDataEntryMethodDelegate<T> | read | |
Sirenix.Serialization.FormatterEmitter.WriteDataEntriesMethodDelegate<T> | write |
public readonly FormatterEmitter.ReadDataEntryMethodDelegate<T> Read
public readonly FormatterEmitter.WriteDataEntriesMethodDelegate<T> Write
protected override void ReadDataEntry(ref T value, string entryName, EntryType entryType, IDataReader reader)
T | value | |
System.String | entryName | |
EntryType | entryType | |
Sirenix.Serialization.IDataReader | reader |
protected override void WriteDataEntries(ref T value, IDataWriter writer)
T | value | |
Sirenix.Serialization.IDataWriter | writer |