Function imageflow::imageflow_io_create_for_output_buffer [] [src]

#[no_mangle]
pub unsafe extern fn imageflow_io_create_for_output_buffer(context: *mut Context)
                                                           -> *mut JobIo

Creates an imageflow_io structure for writing to an expanding memory buffer.

Reads/seeks, are, in theory, supported, but unless you've written, there will be nothing to read.

The I/O structure and buffer will be freed with the context.

Returns null if allocation failed; check the context for error details.