pub async fn read_rows<R>(
reader: &mut AsyncReader<R>,
skip: usize,
rows: &mut [ByteRecord]
) -> Result<usize> where
R: AsyncRead + Unpin + Send + Sync,
Available on (crate features
io_csv_read
or io_csv_read_async
or io_csv_write
) and crate feature io_csv_read_async
only.Expand description
Asynchronosly read len
rows from reader
into row
, skiping the first skip
.
This operation has minimal CPU work and is thus the fastest way to read through a CSV
without deserializing the contents to Arrow.