Lines Matching full:incoming
38 let incoming = new Uint8Array(0);
47 const newIncoming = new Uint8Array(incoming.length + nread);
48 newIncoming.set(incoming);
49 newIncoming.set(buf.slice(0, nread), incoming.length);
50 incoming = newIncoming;
55 assert.deepStrictEqual(incoming, new Uint8Array(message));
65 const incoming = [];
80 incoming.push(Buffer.from(buf.slice(0, nread)));
85 assert.deepStrictEqual(Buffer.concat(incoming), message);
96 let incoming = new Uint8Array(0);
111 const newIncoming = new Uint8Array(incoming.length + nread);
112 newIncoming.set(incoming);
113 newIncoming.set(buf.slice(0, nread), incoming.length);
114 incoming = newIncoming;
119 assert.deepStrictEqual(incoming, new Uint8Array(message));