Version 2.1.0.0

SByteSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class SByteSerializer : Serializer<sbyte>
Serializer for the System.SByte type.
Inheritance

Constructors

SByteSerializer()
public SByteSerializer()

Methods

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

The reader to use.

Returns
System.SByte

The value which has been read.

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

The name of the value to write.

System.SByte value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.