Skip to main content

write_output

Function write_output 

Source
pub fn write_output(
    path: impl AsRef<Path>,
    bytes: &[u8],
) -> Result<(), Diagnostic>
Expand description

Writes existing bytes through the bounded incremental sink.

Prefer OutputSink when the producer can generate its output directly; this compatibility helper does not allocate another full-file buffer.

ยงErrors

Returns E7901 when compression is unavailable or output fails.