Concatenate multiple Uint8Array instances into a single Uint8Array.
Uint8Array
The byte arrays to concatenate.
A new Uint8Array containing all input bytes in order.
Copies several Uint8Arrays into one.
arrays to concatenate
Concatenated byte array.
On wrong argument types. TypeError
Concatenate multiple byte arrays.
concatBytes(new Uint8Array([1]), new Uint8Array([2])); Copy
concatBytes(new Uint8Array([1]), new Uint8Array([2]));
Concatenate multiple
Uint8Arrayinstances into a singleUint8Array.Param: arrays
The byte arrays to concatenate.
Returns
A new
Uint8Arraycontaining all input bytes in order.