Version 3.3.1.2

Int16Serializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class Int16Serializer : Serializer<short>
Serializer for the System.Int16 type.
Inheritance

Constructors

Int16Serializer()
public Int16Serializer()

Methods

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

The reader to use.

Returns
System.Int16

The value which has been read.

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

The name of the value to write.

System.Int16 value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.