Class PofArray
PofArray is a IPofValue implementation for arrays.
Implements
Inherited Members
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public class PofArray : ComplexPofValue, IPofValue
Constructors
PofArray(IPofValue, Binary, IPofContext, int, int, int, int)
Construct a PofArray instance wrapping the supplied binary.
Declaration
public PofArray(IPofValue valueParent, Binary binValue, IPofContext ctx, int of, int nType, int ofChildren, int cElements)
Parameters
Type | Name | Description |
---|---|---|
IPofValue | valueParent | Parent value within the POF stream. |
Binary | binValue | Binary representation of this value. |
IPofContext | ctx | POF context to use when reading or writing properties. |
int | of | Offset of this value from the beginning of POF stream. |
int | nType | POF type identifier for this value. |
int | ofChildren | Offset of the first child element within this value. |
int | cElements | The length of this array. |
Properties
Length
Return the length of this array.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
int | The length of this array. |
Methods
FindChildInternal(int, int, int)
Find the child value with the specified index.
Declaration
protected override IPofValue FindChildInternal(int nIndex, int ofStart, int iStart)
Parameters
Type | Name | Description |
---|---|---|
int | nIndex | Index of the child value to find. |
int | ofStart | Offset within the parent buffer to start search from. |
int | iStart | Index of the child value to start search from. |
Returns
Type | Description |
---|---|
IPofValue | The child value. |