Function hex_escape

Source
const fn hex_escape<const N: usize>(byte: u8) -> ([Char; N], Range<u8>)
Expand description

Escapes a character with \xNN representation.

Returns a buffer with the escaped representation and its corresponding range.