ushr

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.3)
infix fun ushr(bitCount: Int): Long

Shifts this value right by the bitCount number of bits, filling the leftmost bits with zeros.

Note that only the six lowest-order bits of the bitCount are used as the shift distance. The shift distance actually used is therefore always in the range 0..63.

© 2010–2021 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/-long/ushr.html