pub fn to_visible_string(data: &[u8]) -> String
Convert bytes to a lossy UTF-8 string with control characters visible.