Function citp::protocol::read_new_vec [] [src]

pub fn read_new_vec<R, T>(reader: R, len: usize) -> Result<Vec<T>> where
    R: ReadBytesExt,
    T: ReadFromBytes

Read len elements of type T into a new Vec.