Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DEFLATED (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val deflater = MessageDeflater(false)
        val deflated = deflater.deflate("Hello deflate!".encodeUtf8())
        assertThat(deflated.hex()).isEqualTo("f248cdc9c95748494dcb492c49550400")
      }
    
      @Test fun `inflate deflate`() {
        val deflater = MessageDeflater(false)
        val inflater = MessageInflater(false)
    
        val goldenValue = "Hello deflate!".repeat(100).encodeUtf8()
    
        val deflated = deflater.deflate(goldenValue)
    Registered: 2025-05-30 11:42
    - Last Modified: 2024-12-27 13:39
    - 5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        If you want this update with the old behavior use [this interceptor][legacy_interceptor].
    
     *  Fix: Don't crash decompressing web sockets messages. We had a bug where we assumed deflated
        bytes in would always yield deflated bytes out and this isn't always the case!
    
     *  Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
    Registered: 2025-05-30 11:42
    - Last Modified: 2024-04-17 13:25
    - 25.2K bytes
    - Viewed (0)
Back to top