Decode a file; input and output are binary files.
(input, output)
| 541 | |
| 542 | |
| 543 | def decode(input, output): |
| 544 | """Decode a file; input and output are binary files.""" |
| 545 | while line := input.readline(): |
| 546 | s = binascii.a2b_base64(line) |
| 547 | output.write(s) |
| 548 | |
| 549 | def _input_type_check(s): |
| 550 | try: |