Gets the i'th bit in the BitArray.
static void fun(const BitArray arr) { auto x = arr[0]; assert(x == 1); } BitArray a; a.length = 3; a[0] = 1; fun(a);
See Implementation
Gets the i'th bit in the BitArray.