File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1856,7 +1856,7 @@ DataReader.prototype = {
1856
1856
i ;
1857
1857
this . checkOffset ( size ) ;
1858
1858
for ( i = this . index + size - 1 ; i >= this . index ; i -- ) {
1859
- result = ( result << 8 ) + this . byteAt ( i ) ;
1859
+ result = ( result * 256 ) + this . byteAt ( i ) ;
1860
1860
}
1861
1861
this . index += size ;
1862
1862
return result ;
@@ -11574,4 +11574,4 @@ module.exports = ZStream;
11574
11574
11575
11575
} ) . call ( this , typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : { } )
11576
11576
} , { } ] } , { } , [ 10 ] ) ( 10 )
11577
- } ) ;
11577
+ } ) ;
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ DataReader.prototype = {
61
61
i ;
62
62
this . checkOffset ( size ) ;
63
63
for ( i = this . index + size - 1 ; i >= this . index ; i -- ) {
64
- result = ( result << 8 ) + this . byteAt ( i ) ;
64
+ result = ( result * 256 ) + this . byteAt ( i ) ;
65
65
}
66
66
this . index += size ;
67
67
return result ;
You can’t perform that action at this time.
0 commit comments