Class Codecs
Codecs is a container for accessing default ICodec implementations.
Inherited Members
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public class Codecs
Fields
DEFAULT_CODEC
A singleton instance of a Codecs.DefaultCodec.
Declaration
public static readonly ICodec DEFAULT_CODEC
Field Value
Type | Description |
---|---|
ICodec |
Methods
GetCodec(Type)
Based on the Typetype
provided either
instantiate if it is unknown or use a default codec.
Declaration
public static ICodec GetCodec(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The class defining the codec to use. |
Returns
Type | Description |
---|---|
ICodec | ICodec that supports encoding and decoding of objects of the specified type. |