Function hexToU8

  • Convert hex string to Uint8Array.

    Parameters

    • str: string

      Hex string.

    Returns Uint8Array

    Array with contents decoded as hex from str.