MCPcopy Index your code
hub / github.com/python/cpython / decode

Function decode

Lib/base64.py:398–402  ·  view source on GitHub ↗

Decode a file; input and output are binary files.

(input, output)

Source from the content-addressed store, hash-verified

396
397
398def 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
404def _input_type_check(s):
405 try:

Callers

nothing calls this directly

Calls 2

readlineMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…