Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • "Array" conveys a sense of homogeneity (and often arbitrary length), i.e. where all the bits mean the same and are distinguished only by their index. A bit mask/map may be heterogeneous and contain individual flags with different denotation. Commented May 5 at 21:50
  • @Bergi, it is of homogenous data type (i.e. bits), and the length could be varying (i.e. there could be unused bits within the overall fixed-length field allocated). I would associate the "mask" with the value used to modify the effect of the bitwise operators, not with the main field being operated upon. Commented May 5 at 22:17
  • I agree, I'm just not certain that the OP made this distinction Commented May 5 at 22:21