shl

abstract infix fun shl(bits: Int): TSelf(source)

Logical left shift within the modeled bit width.

Behavior:

  • Always succeeds; bits shifted out are discarded, zeros shifted in.

  • Never returns null.

Throws

if the shift count is outside the supported range for the family.