v1
- by ap2 3/25/202100
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const buffer = new Uint8Array(3000*4000*3);
const len = buffer.length;
for (let i = 0; i < len; i++) {
	buffer[i] = Math.floor(Math.random() * 255)
}
delete caserun single casemove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096;
const u8buf = new Uint8Array(buffer);
for (let i = 0; i < u8buf.length; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 2;
const u8buf = new Uint8Array(buffer);
for (let i = 0; i < u8buf.length; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 4;
const u8buf = new Uint8Array(buffer);
for (let i = 0; i < u8buf.length; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 8;
const u8buf = new Uint8Array(buffer);
for (let i = 0; i < u8buf.length; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 12;
const u8buf = new Uint8Array(buffer);
for (let i = 0; i < u8buf.length; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 16;
const u8buf = new Uint8Array(buffer);
for (let i = 0; i < u8buf.length; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove upmove downdrag and drop case


ready



const ret = new Uint8Array(buffer)
          .reduce(function(data, byte) {
            return data.push(String.fromCharCode(byte)), data;
          }, [])
          .join("");
delete caserun single casemove upmove downdrag and drop case


ready



const ret = String.fromCharCode.apply(null, buffer)
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const len = buffer.length;
for (let i = 0; i < buffer.length; i += 1) {
  out += String.fromCharCode(buffer[i]);
}
delete caserun single casemove upmove downdrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 2;
const u8buf = new Uint8Array(buffer);
const len = buffer.length;
for (let i = 0; i < len; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, u8buf.subarray(i, i + BUFFER_LENGTH));
}
delete caserun single casemove updrag and drop case


ready



let out = ""
const BUFFER_LENGTH = 4096 * 2;
const len = buffer.length;
for (let i = 0; i < len; i += BUFFER_LENGTH) {
  out += String.fromCharCode.apply(null, buffer.subarray(i, i + BUFFER_LENGTH));
}
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN