pub fn preview_output(text: &str, max_bytes: usize) -> OutputPreviewExpand description
Limits decoded text without splitting grapheme clusters. The omission marker counts against the budget; very small budgets may contain only a marker.
pub fn preview_output(text: &str, max_bytes: usize) -> OutputPreviewLimits decoded text without splitting grapheme clusters. The omission marker counts against the budget; very small budgets may contain only a marker.