Skip to main content

align_up

Function align_up 

Source
pub fn align_up(value: u64, align: u64) -> FsResult<u64>
Expand description

Aligns a value up to the given alignment.

ยงArguments

  • value - Value to align
  • align - Alignment (must be a power of 2)