Namespace: | Sirenix.Serialization |
Assembly: | Sirenix.Serialization |
public sealed class PrimitiveArrayFormatter<T> : MinimalBaseFormatter<T[]>, IFormatter<T[]>, IFormatter where T : struct
The element type of the formatted array. This type must be an eligible primitive array type, as determined by IsPrimitiveArrayType(Type).
public PrimitiveArrayFormatter()
protected override T[] GetUninitializedObject()
T[] | A null value. |
protected override void Read(ref T[] value, IDataReader reader)
T[] | value | The value to read into. |
Sirenix.Serialization.IDataReader | reader | The reader to use. |
protected override void Write(ref T[] value, IDataWriter writer)
T[] | value | The value to write from. |
Sirenix.Serialization.IDataWriter | writer | The writer to use. |