public TagStruct(CEnum.TagName _tag, CEnum.TagFormat _format, uint _len, string _tag_buf) { tag = _tag; format = _format; len = _len; tag_buf = _tag_buf; }
public TLV_Structure getTLVByTag(CEnum.TagName tag) { for (int index = 0; index < this.m_uiTLVCnt; index++) { if (tag == ((TLV_Structure)this.m_TLVList[index]).m_Tag) { return((TLV_Structure)this.m_TLVList[index]); } } return(null); }