Bit_Array module

make_bit_array

procedureSource

A new Bit_Array of count cleared bits. The caller owns the storage and releases it with deinit.

Example↗
bits := make_bit_array(200);
assert(bits.count == 200 && !bits[199]);
deinit(*bits);
make_bit_array :: (count: int) -> Bit_Array

Parameters

count: int

Returns

See also