[][src]Function fitparser::from_reader

pub fn from_reader<T: Read>(source: &mut T) -> Result<Vec<FitDataRecord>>

Deserialize a FIT file stored in a 'readable' source. Currently this just reads all available data into a buffer and then calls from_bytes. This will not be reliable for sources that stream data and may not contain a full FIT file at the time of reading.