Show / Hide Table of Contents

Class Codecs.DefaultCodec

Implementation of ICodec that simply delegates to ReadObject(int) and WriteObject(int, object) to deserialize and serialize an object.

Inheritance
object
Codecs.AbstractCodec
Codecs.DefaultCodec
Implements
ICodec
Inherited Members
Codecs.AbstractCodec.Encode(IPofWriter, int, object)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public class Codecs.DefaultCodec : Codecs.AbstractCodec, ICodec

Methods

Decode(IPofReader, int)

Deserialize an object from the provided IPofReader. Implementing this interface allows introducing specific return implementations.

Declaration
public override object Decode(IPofReader reader, int index)
Parameters
Type Name Description
IPofReader reader

The IPofReader to read from.

int index

The index of the POF property to deserialize.

Returns
Type Description
object

A specific implementation of the POF property.

Overrides
Codecs.AbstractCodec.Decode(IPofReader, int)
Exceptions
Type Condition
IOException

If an I/O error occurs.

Implements

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