- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for readBomAsCharset (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
format: String, vararg args: Any, ): String = String.format(Locale.US, format, *args) /** * will also strip BOM from the source */ @Throws(IOException::class) internal fun BufferedSource.readBomAsCharset(default: Charset): Charset = when (select(UNICODE_BOMS)) { // a mapping from the index of encoding methods in UNICODE_BOMS to its corresponding encoding method 0 -> UTF_8 1 -> UTF_16BE
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1)