Function concatBytes

  • Concatenate multiple byte-like values into a single Uint8Array. The values can be Uint8Array, bigint, number, or string. This uses valueToBytes under the hood to convert each value to bytes. Refer to the documentation of that function for more information.

    Returns

    The concatenated bytes as Uint8Array.

    Parameters

    • values: Bytes[]

      The values to concatenate.

    Returns Uint8Array