Sets up array to hold count bits, all cleared, replacing whatever it was. Allocates the words with the array's allocator, taking context.allocator if it has none.
Use it on a Bit_Array that holds no storage, such as a zeroed one or one after deinit; storage it already
owned would leak. A negative count fails an assert.
init_bit_array :: (array: *Bit_Array, count: int)
Parameters
- array: *Bit_Array
- count: int