opj_stream_create

Function opj_stream_create 

Source
pub unsafe extern "C" fn opj_stream_create(
    p_buffer_size: OPJ_SIZE_T,
    p_is_input: OPJ_BOOL,
) -> *mut opj_stream_t
Expand description

Creates an abstract stream. This function does nothing except allocating memory and initializing the abstract stream.

§Arguments

  • p_buffer_size - FIXME DOC
  • p_is_input - if set to true then the stream will be an input stream, an output stream else.

§Returns

a stream object.