Rebuild test.js
Needs reconcatenation after changing _test.js // FREEBIE
This commit is contained in:
parent
173e037fa6
commit
df6c9cf462
1 changed files with 2 additions and 1 deletions
|
@ -12268,8 +12268,9 @@ function assertEqualArrayBuffers(ab1, ab2) {
|
|||
function hexToArrayBuffer(str) {
|
||||
var ret = new ArrayBuffer(str.length / 2);
|
||||
var array = new Uint8Array(ret);
|
||||
for (var i = 0; i < str.length/2; i++)
|
||||
for (var i = 0; i < str.length/2; i++) {
|
||||
array[i] = parseInt(str.substr(i*2, 2), 16);
|
||||
}
|
||||
return ret;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue