Home / Function/ ByteBuf() — netty Function Reference

ByteBuf() — netty Function Reference

Architecture documentation for the ByteBuf() function in HAProxyMessageDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ea966942_f180_92ed_037e_5081ac54bb5c["ByteBuf()"]
  779adff2_46a7_a104_ccd9_84680387d552["HAProxyMessageDecoder"]
  ea966942_f180_92ed_037e_5081ac54bb5c -->|defined in| 779adff2_46a7_a104_ccd9_84680387d552
  b36b650e_62bf_5c49_3516_e439aa2265ee["StructHeaderExtractor()"]
  ea966942_f180_92ed_037e_5081ac54bb5c -->|calls| b36b650e_62bf_5c49_3516_e439aa2265ee
  41e27629_10a6_a044_8f15_00d93a935fcc["LineHeaderExtractor()"]
  ea966942_f180_92ed_037e_5081ac54bb5c -->|calls| 41e27629_10a6_a044_8f15_00d93a935fcc
  style ea966942_f180_92ed_037e_5081ac54bb5c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoder.java lines 273–278

    private ByteBuf decodeStruct(ChannelHandlerContext ctx, ByteBuf buffer) throws Exception {
        if (headerExtractor == null) {
            headerExtractor = new StructHeaderExtractor(v2MaxHeaderSize);
        }
        return headerExtractor.extract(ctx, buffer);
    }

Domain

Subdomains

Frequently Asked Questions

What does ByteBuf() do?
ByteBuf() is a function in the netty codebase, defined in codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoder.java.
Where is ByteBuf() defined?
ByteBuf() is defined in codec-haproxy/src/main/java/io/netty/handler/codec/haproxy/HAProxyMessageDecoder.java at line 273.
What does ByteBuf() call?
ByteBuf() calls 2 function(s): LineHeaderExtractor, StructHeaderExtractor.

Analyze Your Own Codebase

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

Try Supermodel Free