fz_open_document_with_buffer

Function fz_open_document_with_buffer 

Source
pub unsafe extern "C" fn fz_open_document_with_buffer(
    ctx: *mut fz_context,
    magic: *const c_char,
    buffer: *mut fz_buffer,
) -> *mut fz_document
Expand description

Open a document using a buffer rather than opening a file on disk.