fs.writeFile 无法写入 arrayBuffer
- 当前 Bug 的表现(可附上截图)
-
预期表现
-
复现路径
-
提供一个最简复现 Demo
var file = wx.getFileSystemManager()
file.writeFile({
filePath: wx.env.USER_DATA_PATH + ‘/test/test.text’,
data: new Uint16Array([97, 32, 72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]),
complete: function (res) {
console.log(res);
}
})
