pub fn text(buf: &[u8], pos: usize, stop: usize) -> Result<usize>Expand description
Skip a text (STX … ETX) starting at the STX at pos. Returns the
position after the ETX. Fails on an unclosed text, a bad escape, a
nested STX, or framing inside the text.