indexOfFirstOne

Find index of first set (one) bit or length if no bit cleared.

Optimized for ones-sparsity.

pure nothrow @safe @nogc
size_t
indexOfFirstOne
(
Blocks
bool blockAlignedLength = false
)
(
const scope auto ref Blocks blocks
,
size_t length
)
if (
isBlocks!Blocks
)

Meta