Skip to main content

align_up

Function align_up 

Source
pub fn align_up(n: u64, a: u64) -> u64
Expand description

Round n up to the next multiple of a. a must be a power of two.