fn ensureTotalCapacity(self: *Self, allocator: Allocator, new_size: Size) Allocator.Error!void

Parameters

self: *Self,
allocator: Allocator,
new_size: Size,