indexOfFirstOne

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

Optimized for ones-sparsity.

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

Meta