fn read_url_frame(
    reader: &mut BufStream<'_>,
    std_key: Option<StandardTagKey>,
    id: &str,
) -> Result<FrameResult> {
    // Scan for a ISO-8859-1 URL string.
    let url = scan_text(reader, Encoding::Iso8859_1, reader.bytes_available() as usize)?;
    // Create a Tag.
    let tag = Tag::new(std_key, id, Value::from(url));

    Ok(FrameResult::Tag(tag))
}
/// Reads all URL frames except for `WXXX`.
Reads all URL frames except for `WXXX`.
Reads all URL frames except for ` WXXX ` .
fn read_url_frame(
    reader: &mut BufStream<'_>,
    std_key: Option<StandardTagKey>,
    id: &str,
) -> Result<FrameResult> {
    // Scan for a ISO-8859-1 URL string.
    let url = scan_text(reader, Encoding::Iso8859_1, reader.bytes_available() as usize)?;
    // Create a Tag.
    let tag = Tag::new(std_key, id, Value::from(url));
    Ok(FrameResult::Tag(tag))
}
fn read_url_frame ( reader : & mut BufStream < ' _ > , std_key : Option < StandardTagKey > , id : & str , ) -> Result < FrameResult > { // Scan for a ISO-8859-1 URL string. let url = scan_text ( reader , Encoding :: Iso8859_1 , reader . bytes_available ( ) as usize ) ? ; // Create a Tag. let tag = Tag :: new ( std_key , id , Value :: from ( url ) ) ; Ok ( FrameResult :: Tag ( tag ) ) }
Reads all URL frames except for `WXXX`.
Reads all URL frames except for ` WXXX ` .
reader
&mut BufStream<'_>
std_key
Option<StandardTagKey>
id
&str
reader
&mut BufStream<'_>
std_key
Option<StandardTagKey>
id
&str