public bool AtTag(byte tag, ApplicationTag defaultTag) { bool ret = false; bool hasHeader = _peekHeader(); if(hasHeader) { bool context = (tag != 255); byte tagNumber = (context ? tag : (byte)defaultTag); return (_isContext == context && _tagNumber == tagNumber); } return ret; }