Function hex_escape

pub(in ::escape) const fn hex_escape<const N: usize>(byte: u8) -> ([Char; N], Range<u8>)

Escapes a character with \xNN representation.

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