pub unsafe extern "C-unwind" fn JxlDecoderGetFrameName(
dec: *const JxlDecoder,
name: *mut c_char,
size: usize,
) -> JxlDecoderStatusExpand description
Outputs name for the current frame. The buffer for name must have at least
name_length + 1 bytes allocated, gotten from the associated JxlFrameHeader.
§Parameters
dec: decoder objectname: buffer to copy the name intosize: size of the name buffer in bytes, including zero termination character, so this must be at leastJxlFrameHeader::name_length+ 1.
§Returns
JxlDecoderStatus::Successif the value is availableJxlDecoderStatus::NeedMoreInputif not yet availableJxlDecoderStatus::Errorin case of other error conditions.