embassy-usb

Crates

git

Versions

default

Flavors

Skip to main content

padding_bytes

Function padding_bytes 

Source
pub const fn padding_bytes(len: usize) -> usize
Expand description

Calculates the number of padding bytes (0..3) required to align len to a 4-byte boundary.