[−][src]Function mupdf_sys::fz_open_document_with_stream
pub unsafe extern "C" fn fz_open_document_with_stream(
ctx: *mut fz_context,
magic: *const c_char,
stream: *mut fz_stream
) -> *mut fz_document
Open a document using the specified stream object rather than opening a file on disk.
magic: a string used to detect document type; either a file name or mime-type.