Function intToHex

  • Converts a number to its hexadecimal equivalent.

    Parameters

    • value: number
    • Optionalpadding: number

      maximum size of hex string, padded by 0s.

    Returns string

    a hexadecimal string