Home / Function/ gzipCompress() — netty Function Reference

gzipCompress() — netty Function Reference

Architecture documentation for the gzipCompress() function in JdkZlibTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8a2fc833_0ed7_4b71_f101_760d9fbd7d8d["gzipCompress()"]
  4c83b538_e9fd_3b12_c32e_629bfd12e1ce["JdkZlibTest"]
  8a2fc833_0ed7_4b71_f101_760d9fbd7d8d -->|defined in| 4c83b538_e9fd_3b12_c32e_629bfd12e1ce
  26b40226_b34f_527f_f91d_30fcfefa62fb["testMultipleConcatenatedGzipMessagesDecompressedIndividually()"]
  26b40226_b34f_527f_f91d_30fcfefa62fb -->|calls| 8a2fc833_0ed7_4b71_f101_760d9fbd7d8d
  style 8a2fc833_0ed7_4b71_f101_760d9fbd7d8d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-compression/src/test/java/io/netty/handler/codec/compression/JdkZlibTest.java lines 330–336

    private static byte[] gzipCompress(byte[] input) throws IOException {
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        GZIPOutputStream gzipOut = new GZIPOutputStream(baos);
        gzipOut.write(input);
        gzipOut.close();
        return baos.toByteArray();
    }

Domain

Subdomains

Frequently Asked Questions

What does gzipCompress() do?
gzipCompress() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/JdkZlibTest.java.
Where is gzipCompress() defined?
gzipCompress() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/JdkZlibTest.java at line 330.
What calls gzipCompress()?
gzipCompress() is called by 1 function(s): testMultipleConcatenatedGzipMessagesDecompressedIndividually.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free