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