Skip to main content

padding_for

Function padding_for 

Source
pub const fn padding_for(offset: usize, boundary: usize) -> usize
Expand description

Number of padding octets needed at offset to reach the next multiple of boundary.