pub unsafe extern "C" fn heif_context_read_from_memory_without_copy(
    arg1: *mut heif_context,
    mem: *const c_void,
    size: usize,
    arg2: *const heif_reading_options
) -> heif_error
Expand description

Same as heif_context_read_from_memory() except that the provided memory is not copied. That means, you will have to keep the memory area alive as long as you use the heif_context.