#[unsafe(no_mangle)]pub unsafe extern "C" fn webui_render_bytes(
result_ptr: *const webui_render_t,
out_len: *mut usize,
) -> *const u8Expand description
Borrow a rendered document and write its length in bytes to out_len.
The returned UTF-8 bytes are borrowed from result_ptr, are not
NUL-terminated, and remain valid only until webui_render_free.
They may be read for exactly out_len bytes. Returns NULL on error.
ยงSafety
result_ptrmust be a live result handle with no concurrent destroy.out_lenmust be non-null and writable.