Version 3.3.1.2

ByteSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class ByteSerializer : Serializer<byte>
Serializer for the System.Byte type.
Inheritance

Constructors

ByteSerializer()
public ByteSerializer()

Methods

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

The reader to use.

Returns
System.Byte

The value which has been read.

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

The name of the value to write.

System.Byte value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.