Function grokj2k_sys::grk_stream_new[][src]

pub unsafe extern "C" fn grk_stream_new(
    buffer_size: usize,
    is_input: bool
) -> *mut grk_stream
Expand description

Create an abstract stream. This function does nothing except allocate memory and initialize abstract stream.

@param buffer_size size of stream’s double-buffer @param is_input if set to true then the stream will be an input stream, an output stream else.

@return stream object.