Class PofValueParser
Parses POF-encoded binary and returns an instance of a IPofValue wrapper for it.
Inherited Members
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public abstract class PofValueParser
Methods
InstantiatePofValue(IPofValue, int, Binary, IPofContext, int, DataReader)
Creates a PofValue instance.
Declaration
protected static AbstractPofValue InstantiatePofValue(IPofValue valueParent, int nType, Binary binValue, IPofContext ctx, int of, DataReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| IPofValue | valueParent | Parent POF value. |
| int | nType | Type identifier of this POF value. |
| Binary | binValue | POF-encoded binary value without the type identifier. |
| IPofContext | ctx | POF context to use. |
| int | of | Offset of the parsed value from the beginning of the POF stream. |
| DataReader | reader | DataReader to read the value from. |
Returns
| Type | Description |
|---|---|
| AbstractPofValue | A IPofValue instance. |
Parse(Binary, IPofContext)
Parses POF-encoded binary and returns an instance of a IPofValue wrapper for it.
Declaration
public static IPofValue Parse(Binary binValue, IPofContext ctx)
Parameters
| Type | Name | Description |
|---|---|---|
| Binary | binValue | POF-encoded binary value. |
| IPofContext | ctx | POF context to use. |
Returns
| Type | Description |
|---|---|
| IPofValue | An IPofValue instance. |