Commit a8adf979 authored by yann300's avatar yann300

add type property

parent c6b72a00
...@@ -24,7 +24,8 @@ class DynamicByteArray extends RefType { ...@@ -24,7 +24,8 @@ class DynamicByteArray extends RefType {
} }
return { return {
value: '0x' + ret.replace(/(00)+$/, ''), value: '0x' + ret.replace(/(00)+$/, ''),
length: '0x' + length.toString(16) length: '0x' + length.toString(16),
type: this.typeName
} }
} else { } else {
var size = parseInt(value.substr(value.length - 2, 2), 16) / 2 var size = parseInt(value.substr(value.length - 2, 2), 16) / 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment