pub unsafe extern "C" fn JxlDecoderRewind(dec: *mut JxlDecoder)
Expand description

Rewinds decoder to the beginning. The same input must be given again from the beginning of the file and the decoder will emit events from the beginning again. When rewinding (as opposed to @ref JxlDecoderReset), the decoder can keep state about the image, which it can use to skip to a requested frame more efficiently with @ref JxlDecoderSkipFrames. Settings such as parallel runner or subscribed events are kept. After rewind, @ref JxlDecoderSubscribeEvents can be used again, and it is feasible to leave out events that were already handled before, such as @ref JXL_DEC_BASIC_INFO and @ref JXL_DEC_COLOR_ENCODING, since they will provide the same information as before.

@param dec decoder object