fn alignInSlice(slice: anytype, comptime new_alignment: usize) ?AlignedSlice(@TypeOf(slice), new_alignment)

Returns the largest sub-slice within the given slice that conforms to the new alignment, or null if the given slice contains no conforming address.

Parameters

slice: anytype,
new_alignment: usize,