Version 3.3.1.2

DoubleSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class DoubleSerializer : Serializer<double>
Serializer for the System.Double type.
Inheritance

Constructors

DoubleSerializer()
public DoubleSerializer()

Methods

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

The reader to use.

Returns
System.Double

The value which has been read.

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

The name of the value to write.

System.Double value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.