Method LimitShiftAmountByBitSize
- Namespace
- Zyl.Vector
Traits
- Assembly
- VectorTraits.dll
LimitShiftAmountByBitSize(int, int)
Limit shift amount to a valid range by bitSize
(根据 bitSize
将位移量限制在有效范围).
Parameters
Returns
- int
Returns the value of
shiftAmount
after it has been limited (返回shiftAmount
被限制后的值).