Skip to content

concatBytes

concatBytes(…arrays): Uint8Array

This mirrors the functionality of the ethereum-cryptography export except it skips the check to validate that every element of arrays is indead a uint8Array Can give small performance gains on large arrays

Parameters

• …arrays: Uint8Array[]

an array of Uint8Arrays

Returns

Uint8Array

one Uint8Array with all the elements of the original set works like Buffer.concat

Defined in

node_modules/.pnpm/@ethereumjs+util@9.1.0/node_modules/@ethereumjs/util/dist/esm/bytes.d.ts:202