resetBits static method

int resetBits(
  1. int value,
  2. int bitMask
)

Reset the specified bits.

Implementation

static int resetBits(int value, int bitMask) {
  return value & ~bitMask;
}