writePaddingLength() — netty Function Reference
Architecture documentation for the writePaddingLength() function in Http2FrameWriterDataBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a5f21c86_e796_6cbb_1c79_52d9f91f15db["writePaddingLength()"] 4df6ecc7_4589_1651_bd44_4cd5d0011fd8["OldDefaultHttp2FrameWriter"] a5f21c86_e796_6cbb_1c79_52d9f91f15db -->|defined in| 4df6ecc7_4589_1651_bd44_4cd5d0011fd8 f58afd80_2dcc_b205_a069_6d6dd9a94949["ByteBuf()"] f58afd80_2dcc_b205_a069_6d6dd9a94949 -->|calls| a5f21c86_e796_6cbb_1c79_52d9f91f15db style a5f21c86_e796_6cbb_1c79_52d9f91f15db fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java lines 185–191
private static void writePaddingLength(ByteBuf buf, int padding) {
if (padding > 0) {
// It is assumed that the padding length has been bounds checked before this
// Minus 1, as the pad length field is included in the padding parameter and is 1 byte wide.
buf.writeByte(padding - 1);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does writePaddingLength() do?
writePaddingLength() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java.
Where is writePaddingLength() defined?
writePaddingLength() is defined in microbench/src/main/java/io/netty/handler/codec/http2/Http2FrameWriterDataBenchmark.java at line 185.
What calls writePaddingLength()?
writePaddingLength() is called by 1 function(s): ByteBuf.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free