Skip to main content

concat() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Concatenates a bunch of arrays into one Uint8Array

Signature:

export declare function concat(arrays: ArrayLike<number>[], length?: number): Uint8Array

Parameters

Parameter

Type

Description

arrays

ArrayLike<number>[]

the arrays to be concatenated

length

number

(Optional) the maximum length of the resulting array

This API may change without a BREAKING CHANGE notice.

**Returns:**

Uint8Array