Class DateTimeSerializer
- Namespace
- Stride.Core.Serialization.Serializers
- Assembly
- Stride.Core.dll
[DataSerializerGlobal(typeof(DateTimeSerializer), null, DataSerializerGenericMode.None, false, false)]
public class DateTimeSerializer : DataSerializer<DateTime>
- Inheritance
-
DateTimeSerializer
- Inherited Members
Methods
Serialize(ref DateTime, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref DateTime dateTime, ArchiveMode mode, SerializationStream stream)
Parameters
dateTime
DateTimemode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.