fun nextSetBit(startIndex: Int = 0): Int
Returns an index of a next bit which value is true
after startIndex (inclusive). Returns -1 if there is no such bits after startIndex.
IndexOutOfBoundException
- if startIndex < 0.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-bit-set/next-set-bit.html