Skip to main content

Module padding

Module padding 

Source
Expand description

Padding and alignment utilities.

Functionsยง

align_to
Pad data to align to a boundary.
ethernet_min_frame
Calculate the minimum Ethernet frame size (including padding).
pad_to
Pad data to a minimum length with zeros.