UIntExtensions.GetBits
Extension Method in UIntExtensions
Declaration
public static uint GetBits(this uint n, int amount, int offset)Description
Returns a subset of bits from the number.
Parameters
| n | The number to get bits from. |
| amount | The amount of bits to return. |
| offset | The amount of bits to discard. |
Returns
| uint | The subset of bits. |