Function escape_unicode

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

Escapes a character with \u{NNNN} representation.

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