pub unsafe extern "C-unwind" fn JxlDecoderCreate(
memory_manager: *const JxlMemoryManager,
) -> *mut JxlDecoderExpand description
Creates an instance of JxlDecoder and initializes it.
memory_manager will be used for all the library dynamic allocations made
from this instance. The parameter may be NULL, in which case the default
allocator will be used. See crate::common::memory_manager for details.
§Parameters
memory_manager: custom allocator function. It may beNULL. The memory manager will be copied internally.
§Returns
NULLif the instance cannot be allocated or initialized.- Pointer to initialized
JxlDecoderotherwise.