ushr

infix fun Byte.ushr(bitCount: Int): Byte

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

Note that the result is a Byte. If bitCount is greater than 7, the result will be 0.


infix fun Short.ushr(bitCount: Int): Short

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

Note that the result is a Short. If bitCount is greater than 15, the result will be 0.