#[unsafe(no_mangle)]pub unsafe extern "C" fn webui_streaming_step_bytes(
step_ptr: *const webui_streaming_step_t,
out_len: *mut usize,
) -> *const u8Expand description
Borrow the bytes produced by this step and write their length to out_len.
The returned pointer is borrowed from step_ptr, is not NUL-terminated,
and remains valid only until webui_streaming_step_destroy. It may be
read for exactly out_len bytes. Returns NULL on error.
ยงSafety
step_ptrmust be a live step handle with no concurrent destroy.out_lenmust be non-null and writable.