pub fn vec_decode<E, T>(buf: &[u8], max_depth: usize) -> Result<T, DecodeError>where E: CustomExtension, T: VecDecode<<E as CustomExtension>::CustomValueKind>,