Function ipv6tohex

  • convert any IPv6 address to a 16 byte hexadecimal string

    Parameters

    • sIn: string

      ipv6 address string

    Returns string

    16 byte hexadecimal string of IPv6 address

    Description

    This function converts any IPv6 address representation string to a 16 byte hexadecimal string of address.

    Example