Function device_tree_source::parser::escape_c_char
[−]
pub fn escape_c_char(i: &[u8]) -> IResult<&[u8], u8, u32>
Parse a slice of bytes as a ASCII character. The character may be described
as a C-style escape code. All hexadecimal and octal escape codes work up to
0xff or x777, respectively, because they are not converted to char
s.