pub fn encode_vec_u8<T>(bytes: &mut Vec<u8>, items: &[T])
where T: Codec,