- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for max31BitValue (0.08 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
fun writeMultibyteInt() { hpackWriter!!.writeInt(1337, 31, 0) assertBytes(31, 154, 10) hpackWriter!!.writeInt(1337, 31, 0xe0) assertBytes(0xe0 or 31, 154, 10) } @Test fun max31BitValue() { hpackWriter!!.writeInt(0x7fffffff, 31, 0) assertBytes(31, 224, 255, 255, 255, 7) assertThat(newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31)) .isEqualTo(0x7fffffff) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 38.2K bytes - Viewed (0)