Function ion_c_sys::ion_writer_finish[][src]

pub unsafe extern "C" fn ion_writer_finish(
    hwriter: hWRITER,
    p_bytes_flushed: *mut SIZE
) -> iERR
Expand description

Flushes pending bytes, ending the current symbol table context and forcing an Ion Version Marker if the writer continues writing to the stream. If writer was created using open_stream, also flushes write buffer to stream. If any value is in-progress, finishing any writer is an error. @param p_bytes_flushed - the number of bytes written into the buffer/stream.