Appearance
RemoveFlag Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
int RemoveFlag(int value, int flag)
csharp
int RemoveFlag(int value, int flag)Remove a flag (turn the bit off)
Parameters
| Name | Description |
|---|---|
flag | The zero-based position of the flag to remove |
value | The current bitmask value |
Returns
The updated bitmask value with the flag removed