pub fn parse_array<T>(
input: &mut dyn Iterator<Item = u8>,
length: usize,
) -> Result<Vec<T>>Expand description
Parses an array of values of type T.
ยงErrors
Returns an error if the input is less than size_of::<T>() * length bytes long.