Skip to main content

align_up

Function align_up 

Source
pub fn align_up(offset: u64, align: u64) -> u64
Expand description

Round offset up to the next multiple of align (a power of two).