Home / Function/ consumeAllBytes() — netty Function Reference

consumeAllBytes() — netty Function Reference

Architecture documentation for the consumeAllBytes() function in DefaultHttp2LocalFlowController.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  dfeec92d_b9a3_9962_60d3_bafdee4a7557["consumeAllBytes()"]
  36ddda9f_3efd_b028_26eb_619b997ea963["DefaultHttp2LocalFlowController"]
  dfeec92d_b9a3_9962_60d3_bafdee4a7557 -->|defined in| 36ddda9f_3efd_b028_26eb_619b997ea963
  a440d6d3_b77f_7649_883b_58e5b5d1a03d["DefaultHttp2LocalFlowController()"]
  a440d6d3_b77f_7649_883b_58e5b5d1a03d -->|calls| dfeec92d_b9a3_9962_60d3_bafdee4a7557
  13160351_4f41_3008_7caf_908c2881fdb0["consumeBytes()"]
  13160351_4f41_3008_7caf_908c2881fdb0 -->|calls| dfeec92d_b9a3_9962_60d3_bafdee4a7557
  a8ec61e3_3bd1_b8ce_6ec2_534b49608d0a["consumeBytes()"]
  dfeec92d_b9a3_9962_60d3_bafdee4a7557 -->|calls| a8ec61e3_3bd1_b8ce_6ec2_534b49608d0a
  style dfeec92d_b9a3_9962_60d3_bafdee4a7557 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java lines 195–197

    private boolean consumeAllBytes(FlowState state, int numBytes) throws Http2Exception {
        return connectionState().consumeBytes(numBytes) | state.consumeBytes(numBytes);
    }

Domain

Subdomains

Frequently Asked Questions

What does consumeAllBytes() do?
consumeAllBytes() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java.
Where is consumeAllBytes() defined?
consumeAllBytes() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowController.java at line 195.
What does consumeAllBytes() call?
consumeAllBytes() calls 1 function(s): consumeBytes.
What calls consumeAllBytes()?
consumeAllBytes() is called by 2 function(s): DefaultHttp2LocalFlowController, consumeBytes.

Analyze Your Own Codebase

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

Try Supermodel Free