Class NullSerializer<T>
- Namespace
- Stride.Core.Serialization
- Assembly
- Stride.Core.dll
A null serializer that can be used to add dummy serialization attributes.
public class NullSerializer<T> : DataSerializer<T>
Type Parameters
T
- Inheritance
-
NullSerializer<T>
- Inherited Members
Methods
Serialize(ref T, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref T obj, ArchiveMode mode, SerializationStream stream)
Parameters
obj
TThe object to serialize or deserialize.
mode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.