Expand description
Helper functions for aligned memory operations
Functions§
- align_
up - Get the next aligned address
- alignment_
padding - Calculate padding needed for alignment
- create_
aligned_ buffer - Create an aligned buffer that can be used like a Vec
- is_
aligned - Check if a pointer is aligned to the given alignment
- is_
vec_ aligned - Check if a Vec’s data is aligned