bool AssociationTagDescriptor::verify() const { if (getDescriptorTag() != TAG) return false; unsigned use = getUse(); if (use == 0x00) { if (getSelectorLength() != 8) { return false; } } else if (use == 0x01) { if (getSelectorLength() != 0) { return false; } } return Descriptor::verify(); }
DescriptorTag Descriptor::getDescriptorTag() const { return getDescriptorTag(data.getData()); }