run_dc_document_to_rendered_bytes

Function run_dc_document_to_rendered_bytes 

Source
pub fn run_dc_document_to_rendered_bytes(
    ordinary_doc: &DcMstr,
    program_input: &DcMstr,
    settings: &RenderSettings,
) -> Result<Vec<u8>>
Expand description

Executes an already-loaded [DcMstr] document through the Dc 1936 execution kernel and renders its combined yielded frames and completion output with settings.

ยงErrors

Returns an error if compilation, execution, resource limits, or rendering fail.