未验证 提交 f1c4702d 编写于 作者: Z zhongqihong 提交者: Gitee

Code consistency modification

代码一致性修改
Signed-off-by: Nzhongqihong <zhongqihong2@huawei.com>
上级 d904c048
...@@ -982,7 +982,8 @@ class MySequence { ...@@ -982,7 +982,8 @@ class MySequence {
return true; return true;
} }
async unmarshalling(messageSequence) { async unmarshalling(messageSequence) {
await image.unmarshalling(messageSequence).then(async (pixelMap) => { let pixelParcel = await image.createPixelMap(new ArrayBuffer(96), {size: { height:4, width: 6}});
await pixelParcel.unmarshalling(messageSequence).then(async (pixelMap) => {
this.pixel_map = pixelMap; this.pixel_map = pixelMap;
}) })
return true; return true;
...@@ -1039,7 +1040,8 @@ class MySequence { ...@@ -1039,7 +1040,8 @@ class MySequence {
return true; return true;
} }
async unmarshalling(messageSequence) { async unmarshalling(messageSequence) {
await image.unmarshalling(messageSequence).then(async (pixelMap) => { let pixelParcel = await image.createPixelMap(new ArrayBuffer(96), {size: { height:4, width: 6}});
await pixelParcel.unmarshalling(messageSequence).then(async (pixelMap) => {
this.pixel_map = pixelMap; this.pixel_map = pixelMap;
}) })
return true; return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册