MCPcopy Index your code
hub / github.com/RustPython/RustPython / decode

Function decode

Lib/base64.py:543–547  ·  view source on GitHub ↗

Decode a file; input and output are binary files.

(input, output)

Source from the content-addressed store, hash-verified

541
542
543def 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
549def _input_type_check(s):
550 try:

Callers

nothing calls this directly

Calls 2

readlineMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected