Skip to content

mask [terminology]

Terminology

Usage

  • Use for a bitmask applied through bitwise operations.
  • Keep the semantic name rather than replacing it with a single letter.
  • Use compound names when several masks exist.
mask = 0xFFFFFFFF
a &= mask