pub unsafe extern "C" fn opj_stream_set_read_function(
    p_stream: *mut opj_stream_t,
    p_function: opj_stream_read_fn
)
Expand description

Sets the given function to be used as a read function.

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