code: public boolean get(long index) {
      if (!(index < size))
        throw new IndexOutOfBoundsException();
      return (bytes.readLong(offset(index)) & (1l << (position(index)))) != 0;
    }
docs: Gets the bit at the given index.
  
  @param index The index of the bit to get.
  @return Indicates whether the bit is set.