Update checked-in dependencies
This commit is contained in:
parent
1afca056e3
commit
6989ba7bd2
3942 changed files with 55190 additions and 132206 deletions
2
node_modules/es-abstract/helpers/bytesAsInteger.js
generated
vendored
2
node_modules/es-abstract/helpers/bytesAsInteger.js
generated
vendored
|
|
@ -12,7 +12,7 @@ module.exports = function bytesAsInteger(rawBytes, elementSize, isUnsigned, isBi
|
|||
// this is common to both branches
|
||||
var intValue = Z(0);
|
||||
for (var i = 0; i < rawBytes.length; i++) {
|
||||
intValue += Z(rawBytes[i]) * Z($pow(2, 8 * i));
|
||||
intValue += Z(rawBytes[i] * $pow(2, 8 * i));
|
||||
}
|
||||
/*
|
||||
Let intValue be the byte elements of rawBytes concatenated and interpreted as a bit string encoding of an unsigned little-endian binary number.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue