Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for inet4AddressToAscii (0.07 sec)

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

      }
    
      @Test
      fun inet4AddressToAscii() {
        assertThat(
          inet4AddressToAscii(
            byteArrayOf(0, 0, 0, 0),
          ),
        ).isEqualTo("0.0.0.0")
    
        assertThat(
          inet4AddressToAscii(
            byteArrayOf(1, 2, 3, 4),
          ),
        ).isEqualTo("1.2.3.4")
    
        assertThat(
          inet4AddressToAscii(
            byteArrayOf(127, 0, 0, 1),
          ),
    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