expect_end

Function expect_end 

Source
pub fn expect_end<'a, 'b, 'c, B: BufRead>(
    key: &'a str,
    reader: &'b mut Reader<B>,
    buf: &'c mut Vec<u8>,
) -> Result<BytesEnd<'c>>
Expand description

Expect a closing tag and return it