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