Skip to main content

decode

Function decode 

Source
pub fn decode(
    data: &[u8],
    errors: EscapeErrorMode,
) -> Result<(Vec<u8>, Option<String>), EscapeDecodeError>
Expand description

Decode a Python bytes-literal escape sequence.

warning is the first invalid-escape deprecation text, if any.