• Converts an hexadecimal string to a buffer. The hexadecimal string should not start with '0x' or '0X'. It keeps the bytes in the same order.

    Parameters

    • value: string

      The hexadecimal string to convert.

    Returns Buffer

    The buffer representation of the hexadecimal string.