pub unsafe extern "C-unwind" fn JxlDecoderGetExtraChannelName(
dec: *const JxlDecoder,
index: usize,
name: *mut c_char,
size: usize,
) -> JxlDecoderStatusExpand description
Outputs name for extra channel at the given index in UTF-8. The index must be
smaller than num_extra_channels in the associated JxlBasicInfo. The
buffer for name must have at least name_length + 1 bytes allocated, gotten
from the associated JxlExtraChannelInfo.
§Parameters
dec: decoder objectindex: index of the extra channel to query.name: buffer to copy the name intosize: size of the name buffer in bytes
§Returns
JxlDecoderStatus::Successif the value is availableJxlDecoderStatus::NeedMoreInputif not yet availableJxlDecoderStatus::Errorin case of other error conditions.