pub fn encode_vec_u8<T: CodecP>(bytes: &mut Vec<u8>, items: &[T])
encode a Vec whose length is encoded in 1 byte