Function ion_c_sys::ion_writer_open_buffer[][src]

pub unsafe extern "C" fn ion_writer_open_buffer(
    p_hwriter: *mut hWRITER,
    buffer: *mut BYTE,
    buf_length: SIZE,
    p_options: *mut ION_WRITER_OPTIONS
) -> iERR
Expand description

Ion Writer interfaces. Takes a byte buffer and length which will contain the text or binary content, returns handle to a writer. @param p_hwriter @param buffer Byte buffer, allocated and provided by caller. @param buf_length size of the buffer (0 or greater). If the buffer is not big enough, ion_write operation will return IERR_EOF rather than IERR_OK. @param p_option writer configuration object.