[][src]Function openjpeg2_sys::opj_stream_set_read_function

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

Sets the given function to be used as a read function. @param p_stream the stream to modify @param p_function the function to use a read function.