Skip to main content

concat() function

This API is provided as a 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

ParameterTypeDescription
arraysArrayLike<number>[]the arrays to be concatenated
lengthnumber

(Optional) the maximum length of the resulting array

This API may change without a BREAKING CHANGE notice.

Returns:

Uint8Array