(s, header=False)
| 158 | output.write(new) |
| 159 | |
| 160 | def decodestring(s, header=False): |
| 161 | if a2b_qp is not None: |
| 162 | return a2b_qp(s, header=header) |
| 163 | from io import BytesIO |
| 164 | infp = BytesIO(s) |
| 165 | outfp = BytesIO() |
| 166 | decode(infp, outfp, header=header) |
| 167 | return outfp.getvalue() |
| 168 | |
| 169 | |
| 170 |