Version 3.3.1.2

WeakMultiDimensionalArrayFormatter class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class WeakMultiDimensionalArrayFormatter : WeakBaseFormatter, IFormatter
Inheritance

Constructors

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

System.Type elementType

Methods

DeserializeImplementation(ref Object, IDataReader)
Provides the actual implementation for deserializing a value of type .
protected override void DeserializeImplementation(ref object value, IDataReader reader)
Parameters
System.Object value

The uninitialized value to serialize into. This value will have been created earlier using GetUninitializedObject().

Sirenix.Serialization.IDataReader reader

The reader to deserialize with.

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

A null value.

SerializeImplementation(ref Object, IDataWriter)
Provides the actual implementation for serializing a value of type .
protected override void SerializeImplementation(ref object value, IDataWriter writer)
Parameters
System.Object value

The value to serialize.

Sirenix.Serialization.IDataWriter writer

The writer to serialize with.