Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for encodeValue (0.18 sec)

  1. src/encoding/gob/encoder.go

    	state.encodeInt(int64(enc.sent[ut.base]))
    }
    
    // EncodeValue transmits the data item represented by the reflection value,
    // guaranteeing that all necessary type information has been transmitted first.
    // Passing a nil pointer to EncodeValue will panic, as they cannot be transmitted by gob.
    func (enc *Encoder) EncodeValue(value reflect.Value) error {
    	if value.Kind() == reflect.Invalid {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      fun encodedName(index: Int): String = encodedNames[index]
    
      fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true)
    
      fun encodedValue(index: Int): String = encodedValues[index]
    
      fun value(index: Int): String = encodedValue(index).percentDecode(plusIsSpace = true)
    
      override fun contentType(): MediaType = CONTENT_TYPE
    
      override fun contentLength(): Long = writeOrCountBytes(null, true)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(body.name(1)).isEqualTo("space, the")
        assertThat(body.name(2)).isEqualTo("%25")
        assertThat(body.encodedValue(0)).isEqualTo("c%2B%3D%26+d")
        assertThat(body.encodedValue(1)).isEqualTo("final+frontier")
        assertThat(body.encodedValue(2)).isEqualTo("%2525")
        assertThat(body.value(0)).isEqualTo("c+=& d")
        assertThat(body.value(1)).isEqualTo("final frontier")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top