Encoding
base64Decode

🔠 Decodes a Base64 string.

Syntax

import { base64Decode } from '@opentf/std';
 
base64Decode(str: string): string

Parameters

  • str: The Base64 string to decode.

Returns

The decoded string.

Examples

base64Decode('SGVsbG8=') //=> 'Hello'

Related

Try