get_aligned_size
Calculates the size that needs to be allocated for the memory to be properly aligned.
(1) |
-
Calculates the size that needs to be allocated for the memory to be properly aligned.
Parameters:-
const size_t
requestedSize
: Size in bytes the user requested. May allocate more -
const size_t
requiredSizeMultiplier
: The requirement for the allocation size to be
-