Decode a file; input and output are binary files.
(input, output)
| 396 | |
| 397 | |
| 398 | def decode(input, output): |
| 399 | """Decode a file; input and output are binary files.""" |
| 400 | while line := input.readline(): |
| 401 | s = binascii.a2b_base64(line) |
| 402 | output.write(s) |
| 403 | |
| 404 | def _input_type_check(s): |
| 405 | try: |