None
(obj, errors="strict")
| 104 | |
| 105 | |
| 106 | def readbuffer_encode(obj, errors="strict"): |
| 107 | """None""" |
| 108 | if isinstance(obj, str): |
| 109 | res = obj.encode() |
| 110 | else: |
| 111 | res = bytes(obj) |
| 112 | return res, len(obj) |
| 113 | |
| 114 | |
| 115 | def escape_encode(obj, errors="strict"): |
nothing calls this directly
no test coverage detected