concat
import { concat } from "https://raw.githubusercontent.com/marigold-dev/tzstamp/0.3.4/helpers/mod.ts";
Concatenates numbers or byte arrays into a single byte array. Numbers out of the range [0, 256) will wrap.
concat(
new Uint8Array([1, 2, 3]),
4,
new Uint8Array([5, 6]),
);
// Uint8Array (6) [ 1, 2, 3, 4, 5, 6 ]
function concat(...chunks: (number | Uint8Array)[]): Uint8Array;