deflate() — netty Function Reference
Architecture documentation for the deflate() function in ZlibTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a207362b_c62a_5bcf_feb2_0145149ee1af["deflate()"] 7036d690_c470_1931_3ca2_5fffb656bebb["ZlibTest"] a207362b_c62a_5bcf_feb2_0145149ee1af -->|defined in| 7036d690_c470_1931_3ca2_5fffb656bebb 9b5f9061_d9e5_d62f_c29a_31a2beb090eb["testZLIB()"] 9b5f9061_d9e5_d62f_c29a_31a2beb090eb -->|calls| a207362b_c62a_5bcf_feb2_0145149ee1af a4bf5eb7_63e6_027b_3882_0b69dea11417["testMaxAllocation()"] a4bf5eb7_63e6_027b_3882_0b69dea11417 -->|calls| a207362b_c62a_5bcf_feb2_0145149ee1af style a207362b_c62a_5bcf_feb2_0145149ee1af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/ZlibTest.java lines 439–445
private static byte[] deflate(byte[] bytes) throws IOException {
ByteArrayOutputStream out = new ByteArrayOutputStream();
try (OutputStream stream = new DeflaterOutputStream(out)) {
stream.write(bytes);
}
return out.toByteArray();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does deflate() do?
deflate() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZlibTest.java.
Where is deflate() defined?
deflate() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZlibTest.java at line 439.
What calls deflate()?
deflate() is called by 2 function(s): testMaxAllocation, testZLIB.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free