pub fn extract_as( format: Format, bytes: &[u8], opts: &Options, ) -> Result<String, DocError>
Extract text from bytes known to be in format.
format