Appearance
Home > sculp-js > b64encode
将原始字符串,包括中文内容,转换为base64编码的字符串(高性能,且支持Web、Node、小程序等任意平台)
Signature:
export declare function b64encode(rawStr: string): string;
Parameter
Type
Description
rawStr
string
原始字符串,包括中文内容
Returns:
base64编码的字符串