Function comparePbfSemantics
Compare complete known PBF semantics and report the first mismatch.
bool comparePbfSemantics(
ref const(PbfDocument) a,
ref const(PbfDocument) b,
out PbfSemanticDifference difference
) pure nothrow @nogc @safe;
Comparison order is HeaderBlock, element counts, Nodes, Ways, Relations. Within an element, identity/location/metadata precede ordered child arrays.
Returns
true when all known semantics are equal; otherwise false and
difference identifies the first mismatch.