Function mz_testdrive::format::bytes::unescape
source ยท pub fn unescape(s: &[u8]) -> Result<Vec<u8>, Error>
Expand description
Unescapes a testdrive byte string.
The escape character is \
and the only interesting escape sequence is
\xNN
, where each N
is a valid hexadecimal digit. All other characters
following a backslash are taken literally.