[−][src]Function tdb_core::dtf::file_format::decode_for_each
pub fn decode_for_each<F: for<'a> FnMut(&'a Update)>(
fname: &str,
num_rows: Option<u32>,
f: &mut F
) -> Result<(), Error>
Decode the main section in a dtf file.
Optionally read all or some num_rows
batches.
Pass in a closure for each update