checkMask static method

bool checkMask(
  1. int b,
  2. int mask
)

Implementation

static bool checkMask(int b, int mask) {
  if (b & not32(mask) != 0) {
    return false;
  }
  return true;
}