StringSerializer Class
Namespace: Stride.Core.Serialization.SerializersAssembly: Stride.Core.dll
Data serializer for string.
Derived from StringSerializer:
[DataSerializerGlobal(typeof(StringSerializer), null, DataSerializerGenericMode.None, false, false)]
public class StringSerializer : DataSerializer<string>
Name | Description | |
---|---|---|
Methods | ||
Serialize(ref String, ArchiveMode, SerializationStream) | Serializes or deserializes the given object |
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
Type | Name | Description |
---|---|---|
System.String | obj | |
ArchiveMode | mode | The serialization mode. |
SerializationStream | stream | The stream to serialize or deserialize to. |
Overrides
Stride.Core.Serialization.DataSerializer<System.String>.Serialize(System.String, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)