Bit_Array module

make_bit_array

procedure · 1 overloadSource

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

ExampleOpen in playground ↗
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