Version 3.3.1.2

DecimalSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class DecimalSerializer : Serializer<decimal>
Serializer for the System.Decimal type.
Inheritance

Constructors

DecimalSerializer()
public DecimalSerializer()

Methods

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

The reader to use.

Returns
System.Decimal

The value which has been read.

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

The name of the value to write.

System.Decimal value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.