fn shrinkAndFree(self: *Self, new_len: usize) void

Reduce allocated capacity to new_len.

Parameters

self: *Self,
new_len: usize,