pub fn decode_string_literal(codec: CodecId, raw: &str) -> Result<String>Expand description
Parse a double-quoted, escaped string literal back to its value.
Accepts the escapes produced by encode_string_literal and fails closed
with a codec error tagged codec on any malformed literal (missing quotes,
unterminated or unsupported escape, invalid Unicode scalar).