Skip to main content

align_up

Function align_up 

Source
const fn align_up(value: u64, align: u64) -> u64
Expand description

Round value up to the next multiple of align.

align must be a power of two.