core.decodebase64 | Medplum

decodeBase64() function

Decodes a base64 string. Handles both browser and Node environments. Supports Unicode characters.

Signature:

export declare function decodeBase64(data: string): string;

Parameters

Parameter Type Description
data string The base-64 encoded input string.

Returns:

string

The decoded string.