Version 3.3.1.2

CharSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class CharSerializer : Serializer<char>
Serializer for the System.Char type.
Inheritance

Constructors

CharSerializer()
public CharSerializer()

Methods

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

The reader to use.

Returns
System.Char

The value which has been read.

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

The name of the value to write.

System.Char value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.