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 01406b3 commit 9ded2aeCopy full SHA for 9ded2ae
lib/reader/DataReader.js
@@ -66,7 +66,7 @@ export class DataReader {
66
i;
67
this.checkOffset(size);
68
for (i = this.index + size - 1; i >= this.index; i--) {
69
- result = (result << 8) + this.byteAt(i);
+ result = (result * 256) + this.byteAt(i);
70
}
71
this.index += size;
72
return result;
0 commit comments