getBit method

bool getBit(
  1. int col,
  2. int row
)

Implementation

bool getBit(int col, int row) {
  return _bits[row * _numCols + col] == 1;
}