class JxlBoxContentDecoder
{ ... };

Outputs the contents of a box in a streaming fashion, either directly, or optionally decoding with Brotli, in case of a brob box. The input must be the contents of a box, excluding the box header.

auto Process(const uint8_t* next_in, size_t avail_in, size_t box_pos, uint8_t** next_out, size_t* avail_out) -> JxlDecoderStatus
auto StartBox(bool brob_decode, bool box_until_eof, size_t contents_size) -> void