将 Base64 编码的字符串转换为 Uint8Array。
Base64 编码的字符串。
解码后的 Uint8Array。
const buffer = base64ToBuffer('SGVsbG8=');console.log(buffer); // Uint8Array [72, 101, 108, 108, 111] Copy
const buffer = base64ToBuffer('SGVsbG8=');console.log(buffer); // Uint8Array [72, 101, 108, 108, 111]
将 Base64 编码的字符串转换为 Uint8Array。