Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getCompatIPv4Address (0.18 sec)

  1. 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));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top