- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for byteStringClosesUnderlyingSource (0.14 sec)
-
okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt
val body = body("efbbbf68656c6c6f") val actual = body.byteString() val expected: ByteString = "efbbbf68656c6c6f".decodeHex() assertThat(actual).isEqualTo(expected) } @Test fun byteStringClosesUnderlyingSource() { val closed = AtomicBoolean() val body: ResponseBody = object : ResponseBody() { override fun contentType(): MediaType? { return null }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 13K bytes - Viewed (0)