Version 3.1.11.0

WeakPrimitiveArrayFormatter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class WeakPrimitiveArrayFormatter : WeakMinimalBaseFormatter, IFormatter
Inheritance

Constructors

WeakPrimitiveArrayFormatter(Type, Type)
public WeakPrimitiveArrayFormatter(Type arrayType, Type elementType)
Parameters
System.Type arrayType

System.Type elementType

Methods

GetUninitializedObject()
Returns null.
protected override object GetUninitializedObject()
Returns
System.Object

A null value.

Read(ref Object, IDataReader)
Reads into the specified value using the specified reader.
protected override void Read(ref object value, IDataReader reader)
Parameters
System.Object value

The value to read into.

Sirenix.Serialization.IDataReader reader

The reader to use.

Write(ref Object, IDataWriter)
Writes from the specified value using the specified writer.
protected override void Write(ref object value, IDataWriter writer)
Parameters
System.Object value

The value to write from.

Sirenix.Serialization.IDataWriter writer

The writer to use.