Exemple #1
0
 /// <summary>
 /// Extract child IPofValue from this value.
 /// </summary>
 /// <param name="of">
 /// Offset of the child within this value.
 /// </param>
 /// <param name="cb">
 /// Length of the child in bytes.
 /// </param>
 /// <returns>
 /// The child value.
 /// </returns>
 protected IPofValue ExtractChild(int of, int cb)
 {
     return(IsUniformCollection
            ? PofValueParser.ParseUniformValue(this, m_nElementType,
                                               BinaryValue.GetBinary(of, cb), PofContext, Offset + of)
            : PofValueParser.ParseValue(this,
                                        BinaryValue.GetBinary(of, cb), PofContext, Offset + of));
 }