pub fn read_info<R: Read>(r: R) -> Result<Streaminfo, Error>Expand description
Returns FLAC’s STREAMINFO metadata block from the given reader
The reader is assumed to be rewound to the start of the FLAC file data.
§Errors
Returns an error if the STREAMINFO block is not first or if any I/O error occurs when reading the file.