Skip to main content

parse

Function parse 

Source
pub fn parse(data: &[u8]) -> Result<DjvuFile, Error>
Expand description

Parse a DjVu file from raw bytes (legacy tree-based parser).

Expects the file to begin with “AT&T” magic followed by a root FORM chunk.