Function assessHeaderFeatures
Assess HeaderBlock feature declarations against an explicit reader policy.
HeaderFeatureAssessment assessHeaderFeatures(
ref const(HeaderBlockView) header,
HeaderFeatureSupport support
) nothrow @nogc @safe;
Required declarations are checked in wire order. Unknown required features
and known semantic features disabled in support are both unsupported.
Unknown optional features are counted but never make readable false.
Parameters
| Name | Description |
|---|---|
| header | Structurally decoded HeaderBlock. |
| support | Semantic capabilities of the intended reader path. |
Returns
Allocation-free compatibility summary borrowing any reported feature bytes
from header.