flip

fun flip(index: Int)(source)

Reverses the bit specified.

Since Kotlin

1.3

fun flip(from: Int, to: Int)(source)

Reverses the bits with indices between from (inclusive) and to (exclusive).

Since Kotlin

1.3

fun flip(range: IntRange)(source)

Reverses the bits from the range specified.

Since Kotlin

1.3