W3cubDocs

/Kotlin

flip

Platform and version requirements: Native (1.3)
fun flip(index: Int)

Reverses the bit specified.

Platform and version requirements: Native (1.3)
fun flip(from: Int, to: Int)

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

Platform and version requirements: Native (1.3)
fun flip(range: IntRange)

Reverses the bits from the range specified.

© 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/flip.html