Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCompatIPv4Address (0.15 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
      public static Inet4Address getCompatIPv4Address(Inet6Address ip) {
        checkArgument(
            isCompatIPv4Address(ip), "Address '%s' is not IPv4-compatible.", toAddrString(ip));
    
        return getInet4Address(Arrays.copyOfRange(ip.getAddress(), 12, 16));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@link Inet4Address} of the embedded IPv4 address
       * @throws IllegalArgumentException if the argument is not a valid IPv4 compatible address
       */
      public static Inet4Address getCompatIPv4Address(Inet6Address ip) {
        checkArgument(
            isCompatIPv4Address(ip), "Address '%s' is not IPv4-compatible.", toAddrString(ip));
    
        return getInet4Address(Arrays.copyOfRange(ip.getAddress(), 12, 16));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top