fn alignedAlloc(self: Allocator, comptime T: type, comptime alignment: ?u29, n: usize) Error![]align(alignment orelse @alignOf(T)) T

Parameters

self: Allocator,
T: type,
alignment: ?u29,

null means naturally aligned

n: usize,