Skip to main content

parse_bytes_unchecked

Function parse_bytes_unchecked 

Source
pub unsafe fn parse_bytes_unchecked(
    input: &[u8],
    opts: &ParseOptions,
) -> Result<Document, XmlError>
Expand description

Byte-slice version that skips the upfront UTF-8 validation. Mirrors parse_bytes_unchecked.

ยงSafety

input must be valid UTF-8.