Show / Hide Table of Contents

Class Codecs

Codecs is a container for accessing default ICodec implementations.

Inheritance
object
Codecs
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.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.

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