Rebuild test.js
Needs reconcatenation after changing _test.js // FREEBIE
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user