Class IntUtils
Contains static methods and properties related to int.
public static class IntUtils
- Inheritance
-
IntUtils
Methods
- AsBinaryString(int)
Gets an integer value as a binary string (containing 0 and 1).
- IsBitSet(int, int)
Checks whether a bit at the specified position is equal to 1.
- IsBitUnset(int, int)
Checks whether a bit at the specified position is equal to 0.
- SetBit(int, int)
Sets a bit at the specified position to 1.
- UnsetBit(int, int)
Sets a bit at the specified position to 0.