forwardOutput() — netty Function Reference
Architecture documentation for the forwardOutput() function in BrotliDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 637f4f9e_6d96_c331_2d84_0f4d4d324eab["forwardOutput()"] 1ab91a77_63ab_e5b9_9f8e_8e15c08c74e2["BrotliDecoder"] 637f4f9e_6d96_c331_2d84_0f4d4d324eab -->|defined in| 1ab91a77_63ab_e5b9_9f8e_8e15c08c74e2 f133d60d_f296_abc5_dc2a_aac22a8d324d["State()"] f133d60d_f296_abc5_dc2a_aac22a8d324d -->|calls| 637f4f9e_6d96_c331_2d84_0f4d4d324eab style 637f4f9e_6d96_c331_2d84_0f4d4d324eab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliDecoder.java lines 67–74
private void forwardOutput(ChannelHandlerContext ctx) {
ByteBuffer nativeBuffer = decoder.pull();
// nativeBuffer actually wraps brotli's internal buffer so we need to copy its content
ByteBuf copy = ctx.alloc().buffer(nativeBuffer.remaining());
copy.writeBytes(nativeBuffer);
needsRead = false;
ctx.fireChannelRead(copy);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does forwardOutput() do?
forwardOutput() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliDecoder.java.
Where is forwardOutput() defined?
forwardOutput() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/BrotliDecoder.java at line 67.
What calls forwardOutput()?
forwardOutput() is called by 1 function(s): State.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free