Skip to content

Home > sculp-js > b64decode

b64decode() function

将base64编码的字符串转换为原始字符串,包括对中文内容的处理(高性能,且支持Web、Node、小程序等任意平台)

Signature:

typescript
export declare function b64decode(base64: string): string;

Parameters

Parameter

Type

Description

base64

string

base64编码的字符串

Returns:

string

原始字符串,包括中文内容

Released under the MIT License.