Cast a string or byte string to an ASCII byte string.
(s)
| 10 | |
| 11 | |
| 12 | def _byte_string(s): |
| 13 | """Cast a string or byte string to an ASCII byte string.""" |
| 14 | return s.encode('ASCII') |
| 15 | |
| 16 | _NULL = _byte_string('\0') |
| 17 |
no outgoing calls
no test coverage detected