urlsafe_base64_decode
Decode a base64 encoded string. Add back any trailing equal signs that might have been stripped.
def urlsafe_base64_decode(
s: string
) - > bytes
Decode a base64 encoded string. Add back any trailing equal signs that might have been stripped.
Parameters
| Name | Type | Description |
|---|---|---|
| s | string | The URL-safe base64 encoded string to be decoded, which may or may not include padding |
Returns
| Type | Description |
|---|---|
bytes | The decoded binary data resulting from the base64 string |