Function parity_scale_codec::decode_vec_with_len
source ยท pub fn decode_vec_with_len<T: Decode, I: Input>(
input: &mut I,
len: usize,
) -> Result<Vec<T>, Error>
Expand description
Decode the vec (without a prepended len).
This is equivalent to decode all elements one by one, but it is optimized in some situation.