use fromHex instead

  • Parameters

    • hexStr: string

    Returns Uint8Array