Skip to main content

base64_decode

Base64 decode a URL-safe string of bytes or text. The result is bytes.

def base64_decode(string): ...

Base64 decode a URL-safe string of bytes or text. The result is bytes.

Parameters

NameTypeDescription
string`strbytes`

Returns

TypeDescription
bytesThe decoded raw bytes from the provided base64-encoded input.