pub fn format_blob_preview(data: &[u8], is_dctext: bool) -> StringExpand description
Formats a byte slice as a displayable preview string.
If is_dctext is true, first converts DcText to plain text.
If the text is displayable (only graphic/whitespace chars), truncates it to
60 chars and returns it. Otherwise, returns a <binary data: N bytes> preview.