Function unescape_from_bytes

Source
pub fn unescape_from_bytes<'a>(
    input: &'a [u8],
    delimiter: &[u8],
) -> Result<Cow<'a, str>, String>
Expand description

Use unescape_from_bytes function for removing the escape character ’' from each escaped delimiter sequence in input bytes. This returns two variants: a Cow typed string if succeeds, and an error if fails.