is_aligned
Checks whether the pointer points to aligned data
(1) |
-
Checks whether the pointer points to aligned data
Parameters:-
void *
p
: Pointer to allocated data -
const size_t
totalSizeInBytes
: Total allocated size of the buffer in bytes -
const size_t
alignment
: Memory alignment boundary in bytes. -
const size_t
requiredSizeMultiplier
: The requirement for the allocation size to be
-