pub fn left_pad_vec(data: &[u8], len: usize) -> Cow<'_, [u8]>
Left-pads the given slice with zeroes until len.
len
Returns the first len bytes if it does not need padding.