Method Math2.SwapBits(+ 1 overload)
Overload
Swaps two ranges of bits.
public static int SwapBits(int value, int i, int j, int n)
Parameters
value (int) |
i (int)
Position of first range of bits. |
j (int)
Position of second range of bits. |
n (int)
Number of bits in each range. |
Returns
Overload(top)
Swaps two ranges of bits.
public static uint SwapBits(uint value, int i, int j, int n)
Parameters
value (uint) |
i (int)
Position of first range of bits. |
j (int)
Position of second range of bits. |
n (int)
Number of bits in each range. |