示例:
// utf8Url:utf8编码字符串
let base64URL = Buffer.from(utf8Url).toString("base64");
// base64UR:base64编码字符串
let utf8Url = Buffer.from(base64URL, 'base64').toString();
示例:
// utf8Url:utf8编码字符串
let base64URL = Buffer.from(utf8Url).toString("base64");
// base64UR:base64编码字符串
let utf8Url = Buffer.from(base64URL, 'base64').toString();