Table of Contents

Class TimeSpanSerializer

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

Data serializer for TimeSpan.

[DataSerializerGlobal(typeof(TimeSpanSerializer), null, DataSerializerGenericMode.None, false, false)]
public class TimeSpanSerializer : DataSerializer<TimeSpan>
Inheritance
TimeSpanSerializer
Inherited Members

Methods

Serialize(ref TimeSpan, ArchiveMode, SerializationStream)

Serializes or deserializes the given object obj.

public override void Serialize(ref TimeSpan timeSpan, ArchiveMode mode, SerializationStream stream)

Parameters

timeSpan TimeSpan
mode ArchiveMode

The serialization mode.

stream SerializationStream

The stream to serialize or deserialize to.