fn initCapacity(allocator: Allocator, num: usize) Allocator.Error!Self
Initialize with capacity to hold num elements. The resulting capacity will equal num exactly. Deinitialize with deinit or use toOwnedSlice.
num
deinit
toOwnedSlice
allocator: Allocator,
num: usize,