getBit method

int getBit(
  1. int i
)

Implementation

int getBit(int i) {
  int mask = (1 << i);
  return (xBits! & mask) != 0 ? 1 : 0;
}