未验证 提交 69d9f6a3 编写于 作者: J jwx1068251 提交者: Gitee

修改encodeIntoUint8Array示例代码

Signed-off-by: Njwx1068251 <jiangkai43@huawei.com>
上级 9cdf6db6
......@@ -588,7 +588,7 @@ let that = new util.TextEncoder()
let buffer = new ArrayBuffer(4)
let dest = new Uint8Array(buffer)
let result = new Object()
result = that.encodeInto('abcd', dest)
result = that.encodeIntoUint8Array('abcd', dest)
```
### encodeInto<sup>(deprecated)</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册