Version 3.3.1.2

UInt16Serializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class UInt16Serializer : Serializer<ushort>
Serializer for the System.UInt16 type.
Inheritance

Constructors

UInt16Serializer()
public UInt16Serializer()

Methods

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

The reader to use.

Returns
System.UInt16

The value which has been read.

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

The name of the value to write.

System.UInt16 value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.