- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for bytesEmpty (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
assertThat(source.readByte() and 0xff).isEqualTo(0xbb) assertThat(source.readByte() and 0xff).isEqualTo(0xbf) assertThat(source.readUtf8()).isEqualTo("hello") } @Test fun bytesEmpty() { val body = body("") assertThat(body.bytes().size).isEqualTo(0) } @Test fun bytesSeesBom() { val body = body("efbbbf68656c6c6f") val bytes = body.bytes()
Created: 2026-04-03 11:42 - Last Modified: 2025-03-19 19:25 - 12.4K bytes - Click Count (0)