Skip to main content

cap_inline_output

Function cap_inline_output 

Source
pub fn cap_inline_output(full: &str, budget: usize, artifact_id: u64) -> String
Expand description

Bounded inline replacement for an over-budget output: head + elision marker + tail + recovery footer, all within budget bytes.

Public so readers of pre-provenance journals can authenticate a legacy footer by reproducing the exact spill boundary output byte-for-byte.