你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
将 base64 字符串解码为长值的数组。
语法
              base64_decode_toarray(
              base64_string)
详细了解语法约定。
参数
| 客户 | 类型 | 必需 | 描述 | 
|---|---|---|---|
| base64_string | string | ✔️ | 要从 base64 解码为长整型值数组的值。 | 
返回
返回从 base64 字符串解码而来的长值数组。
例子
以下示例演示如何用于 base64_decode_toarray() 将 base64 字符串解码为长值的数组。
print Quine=base64_decode_toarray("S3VzdG8=")  
// 'K', 'u', 's', 't', 'o'
输出
| Quine | 
|---|
| [75,117,115,116,111] | 
相关内容
- 若要将 base64 字符串解码为 UTF-8 字符串,请参阅 base64_decode_tostring()
- 若要将字符串编码为 base64 字符串,请参阅 base64_encode_tostring()