Skip to main content

expect_opening

Function expect_opening 

Source
pub fn expect_opening(
    data: &[u8],
    offset: usize,
    tag: u8,
    what: &str,
) -> Result<usize, Error>
Expand description

Require an opening context tag tag at offset; return the offset of its content.