Function grokj2k_sys::grk_stream_create_file_stream[][src]

pub unsafe extern "C" fn grk_stream_create_file_stream(
    fname: *const c_char,
    buffer_size: usize,
    is_read_stream: bool
) -> *mut grk_stream
Expand description

Create stream from a file identified with its filename with a specific buffer size

@param fname the filename of the file to stream @param buffer_size size of the chunk used to stream @param is_read_stream whether the stream is a read stream (true) or not (false)