Version 3.3.1.2

IntPtrSerializer class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public sealed class IntPtrSerializer : Serializer<IntPtr>
Serializer for the System.IntPtr type.
Inheritance

Constructors

IntPtrSerializer()
public IntPtrSerializer()

Methods

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

The reader to use.

Returns
System.IntPtr

The value which has been read.

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

The name of the value to write.

System.IntPtr value

The value to write.

Sirenix.Serialization.IDataWriter writer

The writer to use.