(s, header=False)
| 151 | output.write(new) |
| 152 | |
| 153 | def decodestring(s, header=False): |
| 154 | if a2b_qp is not None: |
| 155 | return a2b_qp(s, header=header) |
| 156 | from io import BytesIO |
| 157 | infp = BytesIO(s) |
| 158 | outfp = BytesIO() |
| 159 | decode(infp, outfp, header=header) |
| 160 | return outfp.getvalue() |
| 161 | |
| 162 | |
| 163 |