Function unsetAll [src]

Set all bits to 0.

Prototype

pub fn unsetAll(self: *Self) void

Parameters

self: *Self

Source

pub fn unsetAll(self: *Self) void { const masks_len = numMasks(self.bit_length); @memset(self.masks[0..masks_len], 0); }