Skip to main content

concatBytes

@iota/wallet-standard


@iota/wallet-standard / concatBytes

Function: concatBytes()

concatBytes(first, ...others): Uint8Array

Defined in: node_modules/.pnpm/@wallet-standard+wallet@1.0.1/node_modules/@wallet-standard/wallet/lib/types/util.d.ts:67

Efficiently concatenate byte arrays without modifying them.

Parameters

first

Uint8Array

A byte array.

others

...Uint8Array<ArrayBufferLike>[]

Additional byte arrays.

Returns

Uint8Array

New byte array containing the concatenation of all the byte arrays.