pub fn skip(mut reader: impl io::Read + io::Seek) -> crate::Result<bool> {
        let initial_position = reader.seek(io::SeekFrom::Current(0))?;
        let range = stream::tag::locate_id3v2(&mut reader)?;
        let end = range.as_ref().map(|r| r.end).unwrap_or(0);
        reader.seek(io::SeekFrom::Start(initial_position + end))?;
        Ok(range.is_some())
    }
/// Detects the presence of an ID3v2 tag at the current position of the reader and skips it
/// if is found. Returns true if a tag was found.
Detects the presence of an ID3v2 tag at the current position of the reader and skips it
if is found. Returns true if a tag was found.
Detects the presence of an ID3v2 tag at the current position of the reader and skips it if is found . Returns true if a tag was found .
pub fn skip(mut reader: impl io::Read + io::Seek) -> crate::Result<bool> {
        let initial_position = reader.seek(io::SeekFrom::Current(0))?;
        let range = stream::tag::locate_id3v2(&mut reader)?;
        let end = range.as_ref().map(|r| r.end).unwrap_or(0);
        reader.seek(io::SeekFrom::Start(initial_position + end))?;
        Ok(range.is_some())
    }
pub fn skip ( mut reader : impl io :: Read + io :: Seek ) -> crate :: Result < bool > { let initial_position = reader . seek ( io :: SeekFrom :: Current ( 0 ) ) ? ; let range = stream :: tag :: locate_id3v2 ( & mut reader ) ? ; let end = range . as_ref ( ) . map ( | r | r . end ) . unwrap_or ( 0 ) ; reader . seek ( io :: SeekFrom :: Start ( initial_position + end ) ) ? ; Ok ( range . is_some ( ) ) }
Detects the presence of an ID3v2 tag at the current position of the reader and skips it
if is found.
Detects the presence of an ID3v2 tag at the current position of the reader and skips it if is found .
reader
impl io::Read + io::Seek
reader
impl io::Read + io::Seek