paddingBytes() — netty Function Reference
Architecture documentation for the paddingBytes() function in Http2FrameWriterDataBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bc380697_dac6_22ad_7f28_26620f02fe36["paddingBytes()"] 4df6ecc7_4589_1651_bd44_4cd5d0011fd8["OldDefaultHttp2FrameWriter"] bc380697_dac6_22ad_7f28_26620f02fe36 -->|defined in| 4df6ecc7_4589_1651_bd44_4cd5d0011fd8 0791d501_8dec_ab00_6a1b_1a1805e56f9e["ChannelFuture()"] 0791d501_8dec_ab00_6a1b_1a1805e56f9e -->|calls| bc380697_dac6_22ad_7f28_26620f02fe36 style bc380697_dac6_22ad_7f28_26620f02fe36 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java lines 179–183
private static int paddingBytes(int padding) {
// The padding parameter contains the 1 byte pad length field as well as the trailing padding bytes.
// Subtract 1, so to only get the number of padding bytes that need to be appended to the end of a frame.
return padding - 1;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does paddingBytes() do?
paddingBytes() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java.
Where is paddingBytes() defined?
paddingBytes() is defined in microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java at line 179.
What calls paddingBytes()?
paddingBytes() is called by 1 function(s): ChannelFuture.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free