testDecompressOnly() — netty Function Reference
Architecture documentation for the testDecompressOnly() function in ZlibTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c8c6bcac_9b29_6541_75ce_64b7469a9ac5["testDecompressOnly()"] 7036d690_c470_1931_3ca2_5fffb656bebb["ZlibTest"] c8c6bcac_9b29_6541_75ce_64b7469a9ac5 -->|defined in| 7036d690_c470_1931_3ca2_5fffb656bebb 9b5f9061_d9e5_d62f_c29a_31a2beb090eb["testZLIB()"] 9b5f9061_d9e5_d62f_c29a_31a2beb090eb -->|calls| c8c6bcac_9b29_6541_75ce_64b7469a9ac5 feab9313_a73f_4959_e55e_b6923872a62a["testGZIP()"] feab9313_a73f_4959_e55e_b6923872a62a -->|calls| c8c6bcac_9b29_6541_75ce_64b7469a9ac5 style c8c6bcac_9b29_6541_75ce_64b7469a9ac5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/ZlibTest.java lines 290–307
private void testDecompressOnly(ZlibWrapper decoderWrapper, byte[] compressed, byte[] data) throws Exception {
EmbeddedChannel chDecoder = new EmbeddedChannel(createDecoder(decoderWrapper));
chDecoder.writeInbound(Unpooled.copiedBuffer(compressed));
assertTrue(chDecoder.finish());
ByteBuf decoded = Unpooled.buffer(data.length);
for (;;) {
ByteBuf buf = chDecoder.readInbound();
if (buf == null) {
break;
}
decoded.writeBytes(buf);
buf.release();
}
assertEquals(Unpooled.copiedBuffer(data), decoded);
decoded.release();
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does testDecompressOnly() do?
testDecompressOnly() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZlibTest.java.
Where is testDecompressOnly() defined?
testDecompressOnly() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/ZlibTest.java at line 290.
What calls testDecompressOnly()?
testDecompressOnly() is called by 2 function(s): testGZIP, testZLIB.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free