| Method |
Description |
| Clear |
Clears all the bits to 0.
|
| CountBits |
Returns the number of bits that are 1.
|
| CountLeadingZeros |
Returns the number of leading zeroes.
|
| CountTrailingZeros |
Returns the number of trailing zeros.
|
| GetBits |
Returns one or more contiguous bits from the bit field as the lower bits of a uint.
|
| IsSet |
Returns true if the bit at a position is 1.
|
| SetBits |
Sets a single bit to 1 or 0.
|
| TestAll |
Returns true if all of the bits in a contiguous range are 1.
|
| TestAny |
Returns true if any of the bits in a contiguous range are 1.
|
| TestNone |
Returns true if none of the bits in a contiguous range are 1.
|