Version 2.1.0.0

Int32Serializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class Int32Serializer : Serializer<int>
Serializer for the System.Int32 type.
Inheritance

Constructors

Int32Serializer()
public Int32Serializer()

Methods

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

The reader to use.

Returns
System.Int32

The value which has been read.

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

The name of the value to write.

System.Int32 value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.