Home / Function/ length() — netty Function Reference

length() — netty Function Reference

Architecture documentation for the length() function in HpackEncoder.java from the netty codebase.

Function java Buffer Allocators calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  4cc85360_b269_0366_05e6_00fae09652a7["length()"]
  616b4418_6852_a9a9_188d_063a8768b35a["HpackEncoder"]
  4cc85360_b269_0366_05e6_00fae09652a7 -->|defined in| 616b4418_6852_a9a9_188d_063a8768b35a
  772d7221_f578_9e4a_8e58_b93602d19372["encodeStringLiteral()"]
  772d7221_f578_9e4a_8e58_b93602d19372 -->|calls| 4cc85360_b269_0366_05e6_00fae09652a7
  4701d429_73e5_a7bd_1715_f8d37c3ccba1["HpackHeaderField()"]
  4701d429_73e5_a7bd_1715_f8d37c3ccba1 -->|calls| 4cc85360_b269_0366_05e6_00fae09652a7
  140e95c3_d479_c196_3c18_8972df4bca5b["isEmpty()"]
  4cc85360_b269_0366_05e6_00fae09652a7 -->|calls| 140e95c3_d479_c196_3c18_8972df4bca5b
  44510029_46b0_da69_c8a0_3e118364cdd2["getIndex()"]
  4cc85360_b269_0366_05e6_00fae09652a7 -->|calls| 44510029_46b0_da69_c8a0_3e118364cdd2
  style 4cc85360_b269_0366_05e6_00fae09652a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java lines 362–364

    int length() {
        return isEmpty() ? 0 : getIndex(head.after.counter);
    }

Domain

Subdomains

Frequently Asked Questions

What does length() do?
length() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java.
Where is length() defined?
length() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/HpackEncoder.java at line 362.
What does length() call?
length() calls 2 function(s): getIndex, isEmpty.
What calls length()?
length() is called by 2 function(s): HpackHeaderField, encodeStringLiteral.

Analyze Your Own Codebase

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

Try Supermodel Free