Concatenate two Uint8Arrays into one.
import { concat } from "@aspect/crypto-edge";const combined = concat(new Uint8Array([1, 2]), new Uint8Array([3, 4]));// Uint8Array [1, 2, 3, 4] Copy
import { concat } from "@aspect/crypto-edge";const combined = concat(new Uint8Array([1, 2]), new Uint8Array([3, 4]));// Uint8Array [1, 2, 3, 4]
Concatenate two Uint8Arrays into one.