Home / Function/ checkCidLength() — netty Function Reference

checkCidLength() — netty Function Reference

Architecture documentation for the checkCidLength() function in QuicHeaderParser.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  a6a94183_4957_7959_5cc5_e6ae948d5910["checkCidLength()"]
  c7e41129_a960_2079_d47e_46ceea19e35c["QuicHeaderParser"]
  a6a94183_4957_7959_5cc5_e6ae948d5910 -->|defined in| c7e41129_a960_2079_d47e_46ceea19e35c
  96928b1e_d3a9_3b36_08ba_c16229544e5c["parse()"]
  96928b1e_d3a9_3b36_08ba_c16229544e5c -->|calls| a6a94183_4957_7959_5cc5_e6ae948d5910
  bdcc5f06_cbd2_bf95_5f85_4a360e906221["QuicException()"]
  a6a94183_4957_7959_5cc5_e6ae948d5910 -->|calls| bdcc5f06_cbd2_bf95_5f85_4a360e906221
  style a6a94183_4957_7959_5cc5_e6ae948d5910 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicHeaderParser.java lines 147–152

    private static void checkCidLength(int length) throws QuicException {
        if (length > Quic.MAX_CONN_ID_LEN) {
            throw new QuicException("connection id to large: "  + length + " > " + Quic.MAX_CONN_ID_LEN,
                    QuicTransportError.PROTOCOL_VIOLATION);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does checkCidLength() do?
checkCidLength() is a function in the netty codebase, defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicHeaderParser.java.
Where is checkCidLength() defined?
checkCidLength() is defined in codec-classes-quic/src/main/java/io/netty/handler/codec/quic/QuicHeaderParser.java at line 147.
What does checkCidLength() call?
checkCidLength() calls 1 function(s): QuicException.
What calls checkCidLength()?
checkCidLength() is called by 1 function(s): parse.

Analyze Your Own Codebase

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

Try Supermodel Free