Function openjpeg_sys::opj_stream_set_seek_function

source ·
pub unsafe extern "C" fn opj_stream_set_seek_function(
    p_stream: *mut opj_stream_t,
    p_function: opj_stream_seek_fn,
)
Expand description

Sets the given function to be used as a seek function, the stream is then seekable, using SEEK_SET behavior.

  • p_stream — the stream to modify
  • p_function — the function to use a skip function.