fn alignForward(comptime T: type, addr: T, alignment: T) T

Round an address up to the next (or current) aligned address. The alignment must be a power of 2 and greater than 0. Asserts that rounding up the address does not cause integer overflow.

Parameters

T: type,
addr: T,
alignment: T,