• Convert input to a byte array.

    Handles both 0x prefixed and non-prefixed strings.

    Parameters

    • hex: string | Uint8Array

    Returns Uint8Array

Generated using TypeDoc