AcediaDocumentation

base64decode

Decodes Base64 into raw bytes.

Empty input returns an empty string. All listed aliases use the same native implementation.

base64decode(data: string): string

Parameters

ParameterTypeDescription
datastringBase64 input.

Errors: Invalid non-empty Base64 data raises an error.

Aliases: base64_decode, base64.decode, crypt.base64decode, crypt.base64_decode, crypt.base64.decode.

On this page