ByteBuf() — netty Function Reference
Architecture documentation for the ByteBuf() function in BrotliEncoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 16bf774c_eae4_7c1c_fac3_141fa50b4769["ByteBuf()"] 52c3c85b_828c_d773_e804_634750e3e5e7["BrotliEncoderTest"] 16bf774c_eae4_7c1c_fac3_141fa50b4769 -->|defined in| 52c3c85b_828c_d773_e804_634750e3e5e7 style 16bf774c_eae4_7c1c_fac3_141fa50b4769 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliEncoderTest.java lines 54–68
@Override
protected ByteBuf decompress(ByteBuf compressed, int originalLength) {
DECODER_CHANNEL.writeInbound(compressed);
ByteBuf aggregatedBuffer = Unpooled.buffer();
ByteBuf decompressed = DECODER_CHANNEL.readInbound();
while (decompressed != null) {
aggregatedBuffer.writeBytes(decompressed);
decompressed.release();
decompressed = DECODER_CHANNEL.readInbound();
}
return aggregatedBuffer;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliEncoderTest.java.
Where is ByteBuf() defined?
ByteBuf() is defined in codec-compression/src/test/java/io/netty/handler/codec/compression/BrotliEncoderTest.java at line 54.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free