Concatenates multiple Uint8Array instances into a single array.
The byte arrays to concatenate.
A new Uint8Array containing all bytes in order.
const a = new Uint8Array([1, 2]);const b = new Uint8Array([3, 4]);const c = concat(a, b);// Uint8Array [ 1, 2, 3, 4 ] Copy
const a = new Uint8Array([1, 2]);const b = new Uint8Array([3, 4]);const c = concat(a, b);// Uint8Array [ 1, 2, 3, 4 ]
Concatenates multiple Uint8Array instances into a single array.