mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2025-12-25 10:58:42 +00:00
include type info when reporting missing fields
Store character primitives as a uint16 integer with a separate char field.
This commit is contained in:
@@ -169,7 +169,7 @@ function _JDWP() {
|
||||
return i<32768?i:i-65536;
|
||||
},
|
||||
decodeChar: function(o) {
|
||||
return String.fromCharCode((o.data[o.idx++]<<8)+o.data[o.idx++]);
|
||||
return (o.data[o.idx++]<<8)+o.data[o.idx++]; // uint16
|
||||
},
|
||||
decodeBoolean: function(o) {
|
||||
return o.data[o.idx++] != 0;
|
||||
|
||||
Reference in New Issue
Block a user