pub fn from_reader<T: Read>(source: &mut T) -> Result<Vec<FitDataRecord>> {
    let mut buffer = Vec::new();
    source.read_to_end(&mut buffer)?;
    from_bytes(&buffer)
}
/// Deserialize a FIT file stored in a source that implements io::Read.
Deserialize a FIT file stored in a source that implements io::Read.
Deserialize a FIT file stored in a source that implements io :: Read .
pub fn from_reader<T: Read>(source: &mut T) -> Result<Vec<FitDataRecord>> {
    let mut buffer = Vec::new();
    source.read_to_end(&mut buffer)?;
    from_bytes(&buffer)
}
pub fn from_reader < T : Read > ( source : & mut T ) -> Result < Vec < FitDataRecord > > { let mut buffer = Vec :: new ( ) ; source . read_to_end ( & mut buffer ) ? ; from_bytes ( & buffer ) }
Deserialize a FIT file stored in a source that implements io::Read.
Deserialize a FIT file stored in a source that implements io :: Read .
source
&mut T
source
&mut T