[][src]Function openjpeg2_sys::opj_stream_create_file_stream

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

Create a stream from a file identified with its filename with a specific buffer size @param fname the filename of the file to stream @param p_buffer_size size of the chunk used to stream @param p_is_read_stream whether the stream is a read stream (true) or not (false)