shl

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
infix fun shl(bitCount: Int): UInt

Shifts this value left by the bitCount number of bits.

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

© 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/-u-int/shl.html