Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canonicalizeInetAddressIPv6RepresentationOfMappedIPV4 (0.2 sec)

  1. okhttp/src/test/java/okhttp3/internal/HostnamesTest.kt

          ByteArray(12) +
            byteArrayOf(
              192.toByte(),
              168.toByte(),
              0,
              1,
            ),
        )
      }
    
      @Test
      fun canonicalizeInetAddressIPv6RepresentationOfMappedIPV4() {
        val addressAIpv6 = decodeIpv6("::FFFF:192.168.0.1")!!
        assertThat(canonicalizeInetAddress(addressAIpv6)).isEqualTo(byteArrayOf(192.toByte(), 168.toByte(), 0, 1))
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 30 06:23:33 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top