Table of Contents

Class BlittableArraySerializer<T>

Namespace
Stride.Core.Serialization.Serializers
Assembly
Stride.Core.dll

Data serializer for blittable T[].

public class BlittableArraySerializer<T> : ArraySerializer<T>, IDataSerializerGenericInstantiation where T : unmanaged

Type Parameters

T

Generics type of T[].

Inheritance
BlittableArraySerializer<T>
Implements
Inherited Members

Methods

Initialize(SerializerSelector)

Initializes the specified serializer.

public override void Initialize(SerializerSelector serializerSelector)

Parameters

serializerSelector SerializerSelector

The serializer.

Remarks

This method should be thread-safe and OK to call multiple times.

Serialize(ref T[], ArchiveMode, SerializationStream)

Serializes or deserializes the given object obj.

public override void Serialize(ref T[] array, ArchiveMode mode, SerializationStream stream)

Parameters

array T[]
mode ArchiveMode

The serialization mode.

stream SerializationStream

The stream to serialize or deserialize to.