pub fn resize(self: *@This(), new_len: usize, fill: bool) !void self: *@This()new_len: usizefill: bool1120
1121
1122 pub fn resize(self: *@This(), new_len: usize, fill: bool) !void {
try self.unmanaged.resize(self.allocator, new_len, fill);
}
Resizes to a new length. If the new length is larger than the old length, fills any added bits with
fill.