Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for GZIPOutputStream (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (hash != null && !hash.startsWith(SIMILAR_DOC_HASH_PREFIX)) {
                try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                    try (GZIPOutputStream gos = new GZIPOutputStream(baos)) {
                        gos.write(hash.getBytes(Constants.UTF_8));
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        /**
         * Helper to GZIP-compress a string.
         */
        private byte[] gzipCompress(String text) throws IOException {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            try (GZIPOutputStream gos = new GZIPOutputStream(baos)) {
                gos.write(text.getBytes(StandardCharsets.UTF_8));
            }
            return baos.toByteArray();
        }
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
Back to Top