read_vec_u16

Function read_vec_u16 

Source
pub fn read_vec_u16<R: Read, T>(reader: &mut R) -> Result<Vec<T>, DecodeError>
where T: Readable,
Expand description

Reads a vector of values from the given reader. This function differs from read_vec in that it uses u16 prefixes to read the length of the vector instead of a BigSize.