pub unsafe extern "C-unwind" fn JxlDecoderGetBoxSizeContents(
dec: *mut JxlDecoder,
size: *mut u64,
) -> JxlDecoderStatusExpand description
Returns the size of the contents of a box, after the JxlDecoderStatus::Box event.
This does not include any of the headers of the box. For compressed “brob” boxes,
this is the size of the compressed content. Even when JxlDecoderSetDecompressBoxes is enabled,
the return value of function does not change, and the decompressed size is not known before it
has already been decompressed and output.
§Parameters
dec: decoder objectsize: size of the payload of the box in bytes
§Returns
JxlDecoderStatus::Errorif no box size is available,JxlDecoderStatus::Successotherwise.