bitmask
nounUK /ˈbɪt.mɑːsk/
US /ˈbɪt.mæsk/
A bitmask is a set of tiny on-off switches used in a computer to keep track of many yes-or-no choices at once.
The program uses a bitmask to remember which of the eight settings are turned on.
RELATED WORDS
OTHER MEANINGS
2. In computer graphics, a pattern of bits used to decide which pixels are shown or hidden.
The sprite's bitmask made the background transparent.
3. A value combined with another using bitwise AND, OR, or XOR to turn specific bits on or off.
She applied a bitmask to clear the lowest four bits of the number.
4. In networking, a compact way to represent a set of allowed or blocked addresses.
The firewall stores blocked ports as a bitmask.