[−][src]Function rustc_ap_rustc_lexer::unescape::unescape_raw_byte_str
pub fn unescape_raw_byte_str<F>(literal_text: &str, callback: &mut F) where
F: FnMut(Range<usize>, Result<u8, EscapeError>),
Takes a contents of a raw byte string literal (without quotes) and produces a sequence of bytes or errors. Values are returned through invoking of the provided callback. NOTE: Raw strings do not perform any explicit character escaping, here we only translate CRLF to LF and produce errors on bare CR.