operator << method

Int16 operator <<(
  1. int shiftAmount
)

Left-shifts the integer's bits gracefully overflowing when passing the bit barrier.

Implementation

Int16 operator <<(int shiftAmount) => Int16.from(value << shiftAmount);