LongExtensions.GetBits
Extension Method in LongExtensions
Declaration
public static long GetBits(this long 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
| long | The subset of bits. |