pub const unsafe fn utf8_size(utf: *const xmlChar) -> c_intExpand description
Size in bytes of the UTF-8 sequence starting at utf (upstream
xmlUTF8Size): returns the sequence length, or -1 on invalid leading
byte, 0 on NUL.
ยงSafety
utfmust be a valid pointer into a UTF-8 string.