Function derp::expect_tag_and_get_value
source · pub fn expect_tag_and_get_value<'a>(
input: &mut Reader<'a>,
tag: Tag
) -> Result<Input<'a>>
Expand description
Read a tag and return it’s value. Errors when the expect and actual tag do not match.