Function lofty::read_from

source ·
pub fn read_from(file: &mut File) -> Result<TaggedFile>
Expand description

Read a TaggedFile from a File

Errors

See:

Examples

use lofty::read_from;
use std::fs::File;

let mut file = File::open(path)?;

let parsed_file = read_from(&mut file)?;