Version 2.1.0.0

FormatterEmitter.EmptyAOTEmittedFormatter<T> class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public abstract class EmptyAOTEmittedFormatter<T> : FormatterEmitter.AOTEmittedFormatter<T>, IFormatter<T>, IFormatter
Shortcut class that makes it easier to emit empty AOT formatters.
Inheritance

Type Parameters

T

Constructors

EmptyAOTEmittedFormatter()
protected EmptyAOTEmittedFormatter()

Methods

ReadDataEntry(ref T, String, EntryType, IDataReader)
Skips the entry to read.
protected override void ReadDataEntry(ref T value, string entryName, EntryType entryType, IDataReader reader)
Parameters
T value

System.String entryName

EntryType entryType

Sirenix.Serialization.IDataReader reader

WriteDataEntries(ref T, IDataWriter)
Does nothing at all.
protected override void WriteDataEntries(ref T value, IDataWriter writer)
Parameters
T value

Sirenix.Serialization.IDataWriter writer

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.