concat
concat(
arrayOfBytesLike):Uint8Array
Defined in: utils/bytes.ts:268
Concatenates all the BytesLike in arrayOfBytesLike into a single Uint8Array.
Same as ethers.utils.concat
Parameters
Section titled “Parameters”arrayOfBytesLike
Section titled “arrayOfBytesLike”readonly BytesLikeWithNumber[]
the array of BytesLike to concatenate together
Returns
Section titled “Returns”Uint8Array
a concatenated Uint8Array
Example
Section titled “Example”concat([0, 1]);// Uint8Array(2) [ 0, 1 ]