Polkadot Apps
    Preparing search index...

    Concatenate multiple Uint8Array instances into a single Uint8Array.

    The byte arrays to concatenate.

    A new Uint8Array containing all input bytes in order.

    • Copies several Uint8Arrays into one.

      Parameters

      • ...arrays: TArg<Uint8Array<ArrayBufferLike>[]>

        arrays to concatenate

      Returns Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>

      Concatenated byte array.

      On wrong argument types. TypeError

      Concatenate multiple byte arrays.

      concatBytes(new Uint8Array([1]), new Uint8Array([2]));