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

Function standard_b64encode

Lib/base64.py:88–93  ·  view source on GitHub ↗

Encode bytes-like object s using the standard Base64 alphabet. The result is returned as a bytes object.

(s)

Source from the content-addressed store, hash-verified

86
87
88def standard_b64encode(s):
89 """Encode bytes-like object s using the standard Base64 alphabet.
90
91 The result is returned as a bytes object.
92 """
93 return b64encode(s)
94
95def standard_b64decode(s):
96 """Decode bytes encoded with the standard Base64 alphabet.

Callers

nothing calls this directly

Calls 1

b64encodeFunction · 0.85

Tested by

no test coverage detected