We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f050fd commit b6abeeaCopy full SHA for b6abeea
msgpack.js
@@ -239,11 +239,14 @@ function decode() { // @return Mix:
239
return type;
240
}
241
if (type < 0x90) { // FixMap (1000 xxxx)
242
- num = type - (type = 0x80);
+ num = type - 0x80;
243
+ type = 0x80;
244
} else if (type < 0xa0) { // FixArray (1001 xxxx)
- num = type - (type = 0x90);
245
+ num = type - 0x90;
246
+ type = 0x90;
247
} else if (type < 0xc0) { // FixRaw (101x xxxx)
- num = type - (type = 0xa0);
248
+ num = type - 0xa0;
249
+ type = 0xa0;
250
251
switch (type) {
252
case 0xc0: return null;
0 commit comments