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

Source

node_modules/.pnpm/@ethereumjs+util@9.0.3/node_modules/@ethereumjs/util/dist/esm/bytes.d.ts:195