Mask256 is a 256-bit mask that can be used to store 256 boolean values.
More...
|
|
void | Clear () |
| | Sets all bits to 0.
|
|
readonly bool | Equals (Mask256 other) |
| | Returns true if the masks are equal.
|
|
readonly override bool | Equals (object obj) |
| | Returns true if the masks are equal.
|
|
readonly bool | GetBit (int bitIndex) |
| | Returns a specific bit from the mask.
|
|
readonly override int | GetHashCode () |
| | Calculates the hash code of the mask.
|
| readonly bool | IsNothing () |
| | Returns true if the mask is empty.
|
|
| Mask256 (long a, long b=0, long c=0, long d=0) |
| | Creates a new mask with specified initial values.
|
|
void | SetBit (int bitIndex, bool set) |
| | Sets a specific bit in the mask.
|
|
readonly override string | ToString () |
| | Converts the mask to a string in the form of "a:b:c:d".
|
|
| long | this[int i] [get, set] |
| | Returns selected 64-bit value from the mask.
|
Mask256 is a 256-bit mask that can be used to store 256 boolean values.
◆ IsNothing()
| readonly bool IsNothing |
( |
| ) |
|
Returns true if the mask is empty.
- Returns
◆ operator long()
| implicit operator long |
( |
Mask256 | mask | ) |
|
|
static |
◆ this[int i]
Returns selected 64-bit value from the mask.
- Parameters
-