Home / Function/ calculateOutNetBufSize() — netty Function Reference

calculateOutNetBufSize() — netty Function Reference

Architecture documentation for the calculateOutNetBufSize() function in ConscryptAlpnSslEngine.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5b9eb2e0_0433_a889_2293_18b4554fc173["calculateOutNetBufSize()"]
  cf2a325c_a7ae_a5d2_40e3_1815d19cd517["ConscryptAlpnSslEngine"]
  5b9eb2e0_0433_a889_2293_18b4554fc173 -->|defined in| cf2a325c_a7ae_a5d2_40e3_1815d19cd517
  bf5680be_0fe9_8b3e_04a7_22022b2eb7be["calculateSpace()"]
  5b9eb2e0_0433_a889_2293_18b4554fc173 -->|calls| bf5680be_0fe9_8b3e_04a7_22022b2eb7be
  style 5b9eb2e0_0433_a889_2293_18b4554fc173 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java lines 86–89

    final int calculateOutNetBufSize(int plaintextBytes, int numBuffers) {
        // Assuming a max of one frame per component in a composite buffer.
        return calculateSpace(plaintextBytes, numBuffers, Integer.MAX_VALUE);
    }

Domain

Subdomains

Frequently Asked Questions

What does calculateOutNetBufSize() do?
calculateOutNetBufSize() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java.
Where is calculateOutNetBufSize() defined?
calculateOutNetBufSize() is defined in handler/src/main/java/io/netty/handler/ssl/ConscryptAlpnSslEngine.java at line 86.
What does calculateOutNetBufSize() call?
calculateOutNetBufSize() calls 1 function(s): calculateSpace.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free