fn ensureUnusedCapacity(self: *Self, allocator: Allocator, additional_count: usize) Allocator.Error!void

Modify the array so that it can hold at least additional_count more items. Invalidates pointers if additional memory is needed.

Parameters

self: *Self,
allocator: Allocator,
additional_count: usize,