- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for isProbablyUtf8 (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 1.4K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
class IsProbablyUtf8Test { @Test fun isProbablyUtf8() { assertThat(Buffer().isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeUtf8("abc").isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeUtf8("new\r\nlines").isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeUtf8("white\t space").isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeUtf8("Слава Україні!").isProbablyUtf8(16L)).isTrue()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
import okhttp3.OkHttpClient import okhttp3.Response import okhttp3.internal.UnreadableResponseBody import okhttp3.internal.charsetOrUtf8 import okhttp3.internal.http.promisesBody import okhttp3.internal.isProbablyUtf8 import okhttp3.internal.platform.Platform import okio.Buffer import okio.GzipSource /** * An OkHttp interceptor which logs request and response information. Can be applied as an
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 07 02:57:33 GMT 2025 - 11.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.internal.EmptyTags import okhttp3.internal.Tags import okhttp3.internal.http.GzipRequestBody import okhttp3.internal.http.HttpMethod import okhttp3.internal.isProbablyUtf8 import okhttp3.internal.isSensitiveHeader import okio.Buffer /** * An HTTP request. Instances of this class are immutable if their [body] is null or itself * immutable. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1)