Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for zstdDecompress (0.07 seconds)

  1. okhttp-zstd/src/main/kotlin/okhttp3/zstd/Zstd.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.zstd
    
    import com.squareup.zstd.okio.zstdDecompress
    import okhttp3.CompressionInterceptor
    import okio.BufferedSource
    import okio.Source
    
    /**
     * Support for Zstandard encoding. Use via the [CompressionInterceptor].
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 18:34:32 GMT 2025
    - 1K bytes
    - Click Count (0)
  2. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
      private fun ByteString.zstdCompress(): ByteString {
        val result = Buffer()
        result.zstdCompress().buffer().use {
          it.write(this@zstdCompress)
        }
        return result.readByteString()
      }
    
      private fun ByteString.gzipCompress(): ByteString {
        val result = Buffer()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 4.8K bytes
    - Click Count (1)
Back to Top