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