pub unsafe fn yaml_emitter_set_output_string(
    emitter: *mut yaml_emitter_t,
    output: *mut u8,
    size: u64,
    size_written: *mut u64
)
Expand description

Set a string output.

The emitter will write the output characters to the output buffer of the size size. The emitter will set size_written` to the number of written bytes. If the buffer is smaller than required, the emitter produces the YAML_WRITE_ERROR error.