Skip to main content

align_up

Function align_up 

Source
pub fn align_up(value: u64, alignment: u64) -> u64
Expand description

Round value up to the nearest multiple of alignment (a power of two).