zdxc/docs/manual/api/09-zdxc-result-output.md

532 B

type order title kind line
api 9 zdxc_result_output function 106
const void *zdxc_result_output(const zdxc_result *result, zdxc_output output, size_t *size);

Returns the selected output's bytes. The bytes are followed by a NUL for convenience; size does not count that terminator and may be NULL. If the output was not produced, returns NULL and stores zero in size.

The pointer remains valid until zdxc_result_free. Binary object outputs can contain interior NUL bytes; always use the returned size.