flip

Native
1.3
fun flip(index: Int)

Reverses the bit specified.

Native
1.3
fun flip(from: Int, to: Int)

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

Native
1.3
fun flip(range: IntRange)

Reverses the bits from the range specified.