opj_stream_create_default_file_stream

Function opj_stream_create_default_file_stream 

Source
pub unsafe extern "C" fn opj_stream_create_default_file_stream(
    fname: *const c_char,
    p_is_read_stream: OPJ_BOOL,
) -> *mut opj_stream_t
Expand description

Create a stream from a file identified with its filename with default parameters (helper function)

ยงArguments

  • fname - the filename of the file to stream
  • p_is_read_stream - whether the stream is a read stream (true) or not (false)