Function escape_unicode

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

Escapes a character \u{NNNN} representation.

Returns a buffer and the length of the escaped representation.