pub fn document(data: &[u8]) -> Result<Progress<DocumentHead<'_>>, Error>
Expand description

Start parsing a DjVu document from some bytes.