Function try_ascii

Source
pub fn try_ascii(bytes: &[u8]) -> MaybeAscii<'_>
Expand description

Helper function to format the text parts of a byte slice as text and the non-text parts with the default Debug implementation for byte slices