Function openjpeg_sys::opj_stream_create_file_stream
source · pub unsafe extern "C" fn opj_stream_create_file_stream(
fname: *const c_char,
p_buffer_size: OPJ_SIZE_T,
p_is_read_stream: OPJ_BOOL
) -> *mut opj_stream_t
Expand description
Create a stream from a file identified with its filename with a specific buffer size
fname
— the filename of the file to streamp_buffer_size
— size of the chunk used to streamp_is_read_stream
— whether the stream is a read stream (true) or not (false)