- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for gzipCompress (0.05 sec)
-
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
result.zstdCompress().buffer().use { it.write(this@zstdCompress) } return result.readByteString() } private fun ByteString.gzipCompress(): ByteString { val result = Buffer() (result as Sink).gzip().buffer().use { it.write(this@gzipCompress) } return result.readByteString() } private fun response( url: String, body: ByteString,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
compactList.add(new Object[] { p.getName(), p.getValues() }); } try { final String json = mapper.writeValueAsString(compactList); final byte[] compressed = gzipCompress(json.getBytes(StandardCharsets.UTF_8)); return Base64.getUrlEncoder().withoutPadding().encodeToString(compressed); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchHelperTest.java
byte[] originalBytes = testData.getBytes(); byte[] compressed = searchHelper.gzipCompress(originalBytes); byte[] decompressed = searchHelper.gzipDecompress(compressed); assertEquals(testData, new String(decompressed));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 18.9K bytes - Viewed (0)