Show / Hide Table of Contents

Class EnumPofSerializer

IPofSerializer implementation that supports the serialization and deserialization of enum values to and from a POF stream.

Inheritance
object
EnumPofSerializer
Implements
IPofSerializer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.IO.Pof
Assembly: Coherence.dll
Syntax
public class EnumPofSerializer : IPofSerializer

Methods

Deserialize(IPofReader)

Deserialize an enum instance from a POF stream by reading its value using the specified IPofReader object.

Declaration
public object Deserialize(IPofReader reader)
Parameters
Type Name Description
IPofReader reader

The IPofReader with which to read the object's state.

Returns
Type Description
object

The deserialized enum instance.

Exceptions
Type Condition
IOException

If an I/O error occurs.

Serialize(IPofWriter, object)

Serialize an enum instance to a POF stream by writing its value using the specified IPofWriter object.

Declaration
public void Serialize(IPofWriter writer, object o)
Parameters
Type Name Description
IPofWriter writer

The IPofWriter with which to write the object's state.

object o

The object to serialize.

Exceptions
Type Condition
IOException

If an I/O error occurs.

Implements

IPofSerializer
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.