Skip to main content

extract

Function extract 

Source
pub fn extract(bytes: &[u8]) -> Result<String>
Expand description

The text of an HTML file held in memory (charset detection, then to_text, then the line clean-up of pdftext). A binary file named .html has no text. A panic is an error, not a crash.