Decode bytes encoded with the standard Base64 alphabet. Argument s is a bytes-like object or ASCII string to decode. The result is returned as a bytes object. A binascii.Error is raised if the input is incorrectly padded. Characters that are not in the standard alphabet are disca
(s)
| 138 | return b64encode(s) |
| 139 | |
| 140 | def standard_b64decode(s): |
| 141 | """Decode bytes encoded with the standard Base64 alphabet. |
| 142 | |
| 143 | Argument s is a bytes-like object or ASCII string to decode. The result |
| 144 | is returned as a bytes object. A binascii.Error is raised if the input |
| 145 | is incorrectly padded. Characters that are not in the standard alphabet |
| 146 | are discarded prior to the padding check. |
| 147 | """ |
| 148 | return b64decode(s) |
| 149 | |
| 150 | |
| 151 | _urlsafe_decode_translation = bytes.maketrans(b'-_', b'+/') |
nothing calls this directly
no test coverage detected
searching dependent graphs…