core.decodebase64
Home > @medplum/core > decodeBase64
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.