public FixPropValue(PropertyTag propertyTag) : base() { _fixedPropType = FTFactory.Instance.CreateFixedPropType(); _propInfo = FTFactory.Instance.CreatePropInfo(propertyTag); _fixedSizeValue = FTFactory.Instance.CreateFixedSizeValue(_fixedPropType, propertyTag.PropType); Children.Add(_fixedPropType); Children.Add(_propInfo); Children.Add(_fixedSizeValue); }
public void ParsePropValue(byte[] buffer, ref int pos) { PropInfo = StreamUtil.CreatePropInfo(buffer, ref pos); FixedSizeValue = StreamUtil.CreateFixedSizeValue(FixedPropType, buffer, ref pos); }