Function hexToBytes

  • Converts a hex string to the equivalent bytes

    Example

    hexToBytes('deadbeef') // Uint8Array(4) [ 222, 173, 190, 239 ]
    

    Parameters

    • hex: string

    Returns Uint8Array

Generated using TypeDoc