Skip to main content

b64decode

Decodes a base64-encoded string by first converting the input to bytes and then performing the base64 decoding operation.

def b64decode(
s: string|bytes
) - > bytes

Decodes a base64-encoded string or byte sequence into its original byte representation.

Parameters

NameTypeDescription
s`stringbytes`

Returns

TypeDescription
bytesThe decoded raw bytes resulting from the base64 input.