pub fn decode_utf8_escape(bytes: &[u8]) -> EncodedTextExpand description
Decode bytes as UTF-8, escaping invalid bytes as hex.
Invalid bytes are replaced with \xHH escape sequences.
pub fn decode_utf8_escape(bytes: &[u8]) -> EncodedTextDecode bytes as UTF-8, escaping invalid bytes as hex.
Invalid bytes are replaced with \xHH escape sequences.