ByteBuf() — netty Function Reference
Architecture documentation for the ByteBuf() function in LzmaFrameEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d26f5bcc_2a66_b7f8_d1e3_e9e2eb77d7fe["ByteBuf()"] 7c9ec182_4df7_b0e1_b1a7_861a5a612786["LzmaFrameEncoder"] d26f5bcc_2a66_b7f8_d1e3_e9e2eb77d7fe -->|defined in| 7c9ec182_4df7_b0e1_b1a7_861a5a612786 8a3b26a2_22a8_e061_7150_1eb375301713["maxOutputBufferLength()"] d26f5bcc_2a66_b7f8_d1e3_e9e2eb77d7fe -->|calls| 8a3b26a2_22a8_e061_7150_1eb375301713 style d26f5bcc_2a66_b7f8_d1e3_e9e2eb77d7fe fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-compression/src/main/java/io/netty/handler/codec/compression/LzmaFrameEncoder.java lines 188–193
@Override
protected ByteBuf allocateBuffer(ChannelHandlerContext ctx, ByteBuf in, boolean preferDirect) throws Exception {
final int length = in.readableBytes();
final int maxOutputLength = maxOutputBufferLength(length);
return ctx.alloc().ioBuffer(maxOutputLength);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in codec-compression/src/main/java/io/netty/handler/codec/compression/LzmaFrameEncoder.java.
Where is ByteBuf() defined?
ByteBuf() is defined in codec-compression/src/main/java/io/netty/handler/codec/compression/LzmaFrameEncoder.java at line 188.
What does ByteBuf() call?
ByteBuf() calls 1 function(s): maxOutputBufferLength.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free