pub fn parse_bytes(input: &[u8]) -> Result<Document, HtmlError>Expand description
Parse raw bytes with default settings, auto-detecting encoding.
§Example
let doc = fast_html_parser::parse_bytes(b"<p>Quick</p>").unwrap();
assert_eq!(doc.root().text_content(), "Quick");