pub fn extract(bytes: &[u8]) -> Result<String>
The text of a PDF held in memory: at most MAX_PAGES pages and MAX_CHARS characters; pages that cannot be read are skipped. A parser panic is an error, not a crash.
MAX_PAGES
MAX_CHARS