runLengthAtUint32

fnsize_t runLengthAtUint32(scope const(uint)[] values) @safe pure nothrow @nogc

Length of the run of equal values starting at values[0] (≥ 1 for non-empty input; 0 for empty input).

Parameters

valuesinput starting at a candidate run head.