UNPKG

minigame-std

Version:

Mini Game Standard Development Library.

28 lines (16 loc) 546 B
[**minigame-std**](../README.md) *** [minigame-std](../README.md) / decodeBase64 # Function: decodeBase64() ```ts function decodeBase64(data): string ``` Defined in: [src/std/base64/mod.ts:20](https://github.com/JiangJie/minigame-std/blob/fdb22241c47c2e98329a4c62befde728957e03ee/src/std/base64/mod.ts#L20) 将 Base64 格式的字符串数据解码。 ## Parameters | Parameter | Type | Description | | ------ | ------ | ------ | | `data` | `string` | 需要解码的 Base64 字符串。 | ## Returns `string` 解码后的字符串。