Skip to main content

invalid_char_offset

Function invalid_char_offset 

Source
pub fn invalid_char_offset(raw: &[u8]) -> Option<usize>
Expand description

Offset of the first byte that XML 1.0 forbids in character data (controls other than tab, newline and carriage return), if any.