nextSetBit

fun nextSetBit(fromIndex: Long): Long(source)

Returns the first bit set to true from fromIndex (= inclusive).

Return

the index of the first bit set to true, or -1 if there are no bits set to true