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