Version 3.3.1.2

StringSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class StringSerializer : Serializer<string>
Serializer for the System.String type.
Inheritance

Constructors

StringSerializer()
public StringSerializer()

Methods

ReadValue(IDataReader)
Reads a value of type System.String.
public override string ReadValue(IDataReader reader)
Parameters
Sirenix.Serialization.IDataReader reader

The reader to use.

Returns
System.String

The value which has been read.

WriteValue(String, String, IDataWriter)
Writes a value of type System.String.
public override void WriteValue(string name, string value, IDataWriter writer)
Parameters
System.String name

The name of the value to write.

System.String value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.