Function rusticata_macros::combinator::align_n2 [−][src]
pub const fn align_n2(x: usize, n: usize) -> usize
Expand description
Align input value to the next multiple of n bytes Valid only if n is a power of 2
pub const fn align_n2(x: usize, n: usize) -> usize
Align input value to the next multiple of n bytes Valid only if n is a power of 2