Home / Function/ writePaddingLength() — netty Function Reference

writePaddingLength() — netty Function Reference

Architecture documentation for the writePaddingLength() function in DefaultHttp2FrameWriter.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3c7062cb_c10f_46c2_78ff_fad8e19f9d1a["writePaddingLength()"]
  15f148d0_1b4a_244f_1956_157fbe75e59a["DefaultHttp2FrameWriter"]
  3c7062cb_c10f_46c2_78ff_fad8e19f9d1a -->|defined in| 15f148d0_1b4a_244f_1956_157fbe75e59a
  fe7bfdb5_730f_310a_cec0_582ba7362f95["ChannelFuture()"]
  fe7bfdb5_730f_310a_cec0_582ba7362f95 -->|calls| 3c7062cb_c10f_46c2_78ff_fad8e19f9d1a
  style 3c7062cb_c10f_46c2_78ff_fad8e19f9d1a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java lines 612–618

    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

Frequently Asked Questions

What does writePaddingLength() do?
writePaddingLength() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java.
Where is writePaddingLength() defined?
writePaddingLength() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameWriter.java at line 612.
What calls writePaddingLength()?
writePaddingLength() 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