code: func (vector *BitVector) indexAssert(i int) {
  	if i < 0 || i >= vector.length {
  		panic("Attempted to access element outside buffer")
  	}
  }
docs: // Panics if the given index is not within the bounds of the bit vector.