nextSetBit

fun nextSetBit(index: Long): Long

Returns the index of the first set bit starting at the index specified. -1 is returned if there are no more set bits.