Class Codecs.DefaultCodec
Implementation of ICodec that simply delegates to ReadObject(int) and WriteObject(int, object) to deserialize and serialize an object.
Implements
Inherited Members
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
Exceptions
Type | Condition |
---|---|
IOException | If an I/O error occurs. |