Skip to main content

read_vec

Function read_vec 

Source
pub fn read_vec<'de, T: NumericTarget, R: Reader<'de>>(
    r: &mut WxfReader<R>,
    path: &str,
) -> Result<Vec<T>, Error>
Expand description

Read the next value as a flat Vec<T>. Accepts NumericArray, PackedArray (any rank — multi-dim flattens row-major), or ByteArray (treated as a 1-D NumericArray<Integer8>).