Deserialize a user type instance from a POF stream by reading its state using the specified IPofReader object.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)

Syntax

C#
Object Deserialize(
	IPofReader reader
)

Parameters

reader
Type: Tangosol.IO.Pof..::..IPofReader
The IPofReader with which to read the object's state.

Return Value

The deserialized user type instance.

Remarks

An implementation of IPofSerializer is required to follow the following steps in sequence for reading in an object of a user type:
  1. If the object is evolvable, the implementation must get the version by calling VersionId.
  2. The implementation may read any combination of the properties of the user type by using "read" methods of the IPofReader, but it must do so in the order of the property indexes. Additionally, the implementation must call {@link IPofReader#RegisterIdentity} with the new instance prior to reading any properties which are user type instances themselves.
  3. After all desired properties of the user type have been read, the implementation must terminate the reading of the user type by calling ReadRemainder()()()().

Exceptions

ExceptionCondition
System.IO..::..IOException If an I/O error occurs.

See Also