未验证 提交 8987a470 编写于 作者: 朱静茹 提交者: Gitee

update zh-cn/application-dev/media/image-decoding.md.

Signed-off-by: N朱静茹 <zhujingru2@huawei.com>
上级 310a4092
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
```ts ```ts
// Stage模型参考如下代码 // Stage模型参考如下代码
const context : Context= getContext(this); const context : Context = getContext(this);
const filePath : string = context.cacheDir + '/test.jpg'; const filePath : string = context.cacheDir + '/test.jpg';
const file : File = fs.openSync(filePath, fs.OpenMode.READ_WRITE); const file : File = fs.openSync(filePath, fs.OpenMode.READ_WRITE);
const fd : number = file?.fd; const fd : number = file?.fd;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册