shl

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

Shifts this value left by the bitCount number of bits.

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


infix fun UByte.shl(bitCount: Int): UByte

Shifts this value left by the bitCount number of bits.

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


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

Shifts this value left by the bitCount number of bits.

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


infix fun UShort.shl(bitCount: Int): UShort

Shifts this value left by the bitCount number of bits.

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