fn resize(self: *@This(), new_len: usize, fill: bool) !void

Resizes to a new length. If the new length is larger than the old length, fills any added bits with fill.

Parameters

self: *@This(),
new_len: usize,
fill: bool,