Function polkavm_common::utils::align_to_next_page_usize
source · pub const fn align_to_next_page_usize(
page_size: usize,
value: usize,
) -> Option<usize>Expand description
Aligns the value to the next page_size, or returns the value as-is if it’s already aligned.