fn alignInBytes(bytes: []u8, comptime new_alignment: usize) ?[]align(new_alignment) u8

Returns the largest slice in the given bytes that conforms to the new alignment, or null if the given bytes contain no conforming address.

Parameters

bytes: []u8,
new_alignment: usize,