pub fn python_bytes_repr(data: &[u8]) -> StringExpand description
Python’s repr of a bytes value: b'...' (double quotes when it holds a
' and no "), printable ASCII as itself, \\, \t, \n, \r and
the quote escaped, every other byte as \xNN.