pub fn pad_bytes(data: Vec<u8>, padding: Padding) -> Vec<u8> ⓘ
Pad the data to be word aligned.
Note it’s cheaper to use align_to_word if the data might already be word aligned.
align_to_word